Debug mode ...

servicenow_baby
Giga Contributor

Hello experts,

 

I wrote a On edit client script which is working but apparently there is another script which runs after my script which causes changes to rollback. In my experiences with other products, I could run the transaction in a debug mode to watch each step that is being executed to find the culprit. Is there a feature like that in SN? Thank you in advance. 

2 REPLIES 2

Tai Vu
Kilo Patron
Kilo Patron

Hi @servicenow_baby 

You may wanna have a look to Script Tracer.

"Use the Script Tracer tab in the Script Debugger to debug synchronous, server-side scripts which are executed as part of an application's logic."

Screenshot 2024-02-19 at 13.58.14.png

Screenshot 2024-02-19 at 13.58.29.png

 

Cheers,

Tai Vu