Unexpected Action Occurred Error on ESC portal

Rameshwar Bera3
Tera Contributor

I am getting Unexpected Action Occurred Error message on esc portal when click over "To-Dos" does anyone know this issue.

 

Thanks in advance..!!

 

Unexpected error.png

7 REPLIES 7

Hello @Ankur Bawiskar 
This error is occur from " Todos Approval" widgets. This Is OOB widget I curious why this error message come. 

@Rameshwar Bera3 

Did you try to debug and see which line is causing this?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

 

Yes, I have tried but I found some weird issues. In the following script In Line no.15 I got two sys_id. Basically it executes the IF part but the else part also executes even the both sys_id from the sysapproval table. 

 

If I removed "Secure" from the below line then I did not get any error. Will this cause any issue in future??

 

var sysApprovalRecord = new GlideRecordSecure('sysapproval_approver')

Thank you.

Todos_Approval_Server_Script.png