- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2016 11:25 PM
Hi there ServiceNow Gurus!
This is my first post on any ServiceNOW community forum, so please be gentle. I am a n00b. As my first post will demonstrate definitively
Here's my problem.
I have written some very exciting Script Includes that do lots of wonderful things when invoked. I'm testing them on our companies Dev instance, by invoking them from an async business rule, on the Requested Items table, with an appropriate condition to fire them off at the relevant stage. Async, because some of these activities take quite a long time to complete.
However, in the course of testing, some of these script includes have gotten themselves into never ending loops, for various reasons. I have attempted to kill them from the All Active Contexts page, and this seems to have killed to Business Rules that called the Script Includes. However, it is the the Script Includes called by the BR themselves that are in an infinite loop, and they still seem to be running, as evidenced by the system log entries they are continuing to leave every few minutes. (I'm not *completely* stupid, you see, and I did think ahead far enough to ensure I could tell when something as going badly wrong ).
But now I am stumped. I want to kill these processes but cannot find any way to do so. Apart from getting the dev instance restarted, what options do I have to identify and kill these sick processes?
Regards
Stephen McKay
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2016 03:15 AM
Hi Stephen,
Here's something you can try. Modify the URL below by putting your instance name in place of YOURINSTANCE.
https://YOURINSTANCE.service-now.com/cancel_my_transaction.do

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2016 02:40 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2016 03:00 AM
I think you will need to contact Service now support by creating a HI ticket. The endless loop usually will require instance restart.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2016 03:15 AM
Hi Stephen,
Here's something you can try. Modify the URL below by putting your instance name in place of YOURINSTANCE.
https://YOURINSTANCE.service-now.com/cancel_my_transaction.do
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2016 07:07 PM
To all who replied I give you my sincere thanks. Both for your accuracy, as well as your restraint. (Not one LOL or ROFLMAO included in your extremely patient treatment of my dilemma.)
All answers here were correct on some level, but I give props to Chuck Tomasi for showing me something new and useful.
Thanks again, one and all.
In case you were wondering, I did finally find and kill my runaway transactions. And I didn't have to raise a HI ticket, so I felt much less stupid than I may have.
Don't you just love a happy ending?