- 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-17-2016 08:20 PM
Thank you Stephen. I'm glad you got it resolved.
I may not always understand the question posed, but I am never laughing (unless someone is intentionally being funny.) We've all been at the beginning of the learning curve and understand completely. Someone helped us out - hopefully we can repay the debt to the next people looking for a helping hand.