Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

hr undefined, maybe missing global qualifier

omsa1
Kilo Guru

Hi There,

i'm getting this error after upgrade to Istanbul , when view a incident ,this error showing up on top. I've tried steps in WorkflowScheduler undefined, maybe missing global qualifier but the error still there. Please help.

find_real_file.png

6 REPLIES 6

dineshchoudhary
Kilo Guru

Hi Sarasaamani,



Easy fix. Add global. in front of your hr instantiation in your script.



ex:


var wf = new global.hr();



Regards


Dinesh


Hi Dinesh,



you mean modify this script? which line i should change?



if (current.sys_scope.getDisplayValue() == 'Global') current.script = "var ws = new WorkflowScheduler();



ws.run();";



else current.script = "var ws = new global.WorkflowScheduler();



ws.run();";