onLoad client scripts are not accessible from onChange client scriptsIssue When a global variable is declared in an onLoad client script in the global application and attempted to be accessed from another onChange client script in the same global application, it results in a 'variable_name not defined' error. Symptoms Console error: variable_name not definedExample scripts and error logs provided in the original article Release Product: Service Catalog Cause The issue occurs because global variables declared in onLoad client scripts are not accessible from onChange client scripts in the same global application. The "g_scratchpad" object, which works on forms like Incident and Service Portal, does not function on Service Catalog Forms. An enhancement request has been created to address this limitation. Resolution Use the g_scratchpad object to store and access global variables across client scripts.Note that g_scratchpad is currently unsupported on Service Catalog Forms.An enhancement request exists to enable g_scratchpad on Service Catalog Forms in future releases.