Global variables declared on onLoad client script are not accessible from another onChange client scriptIssue <!-- div.margin { padding: 10px 40px 40px 30px; } table.tocTable { border: 1px solid; border-color: #e0e0e0; background-color: #fff; } .title { color: #d1232b; font-weight: normal; font-size: 28px; } h1 { color: #d1232b; font-weight: normal; font-size: 21px; margin-bottom: 5px; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #cccccc; } h2 { color: #646464; font-weight: bold; font-size: 18px; } h3 { color: #000000; font-weight: bold; font-size: 16px; } h4 { color: #666666; font-weight: bold; font-size: 15px; } h5 { color: #000000; font-weight: bold; font-size: 13px; } h6 { color: #000000; font-weight: bold; font-size:14px; } ul, ol { margin-left: 0; list-style-position: outside; } --> Description When a global variable is declared in an onLoad client script in the global application and tried to access it from another onChange client script in the same global application, it gives a 'variable_name not defined error'. Below is the example of scripts and the console error: 1] onLoad client script: loadGlobalVariables var testGlobalVar = {};function onLoad() {testGlobalVar.check = 'Load';console.log('**** Test onLoad => '+testGlobalVar);} 2] onChange client script: onChangeGlobalVariable function onChange(control, oldValue, newValue, isLoading) {if (isLoading || newValue == '') {return;}console.log("### BEFORE ONCHANGE => "+testGlobalVar.check);testGlobalVar.check = 'Change';console.log("#### AFTER ONCHANGE => "+testGlobalVar.check);} Console Error: Workaround Use g_scratchpad.testGlobalVar for accessing global variables across client scripts. The "g_scratchpad" object works fine on a regular form like incident and on Service portal but it doesn't work on Service Catalog Form. An enhancement request is been created to enable g_scratchpad on Service Catalog Form on platform view. Applicable Versions Any version