Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Infinite loop in background script

Josef Juna
Tera Expert

Hello Community. I am just wondering If it is possible to limit the execution time of the background script (.../sys.scripts.do). I see only the option to "cancel after 4 hours", but It seem to be really long when you accidentally put some infinite loop into this. I tried It in my PDA and It seem really dangerous. 

1 ACCEPTED SOLUTION

SoniaShridhar13
Giga Guru

Hi @Josef Juna  Try To add to this, you can type https://<your_instance>.service-now.com/cancel_my_transaction.do into the address bar and it will also cancel the transaction currently running.

 

Please mark it helpful if it helps...

View solution in original post

2 REPLIES 2

SoniaShridhar13
Giga Guru

Hi @Josef Juna  Try To add to this, you can type https://<your_instance>.service-now.com/cancel_my_transaction.do into the address bar and it will also cancel the transaction currently running.

 

Please mark it helpful if it helps...

Great. Thanks a lot.