- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2022 01:22 PM
Hi,
Within our test instance, while testing some code within an email script, I set a while loop where I shouldn't have and now the script is stuck in a loop.
It's not sending out emails - so that's good. But I know its stuck in a loop because I am using gs.log within the code, and its hammering our log table.
I tried killing All Transacations and I also tried the following URL: https://removedtest.service-now.com/cancel_my_transaction.do
...but neither stopped the email script loop.
I also resolved the incident that the Email Script is tied too and I also canceled the Workflow it's tied too, but it's still looping.
Any assistance would be greatly appreciated.
Note: I've already opened a HI support case in the instance it needs to be terminated from the server side.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2022 05:19 AM
Support was able to terminate the while loop - and they stated that it can be done from the User end via the following link:
Replace "yourinstance" with your instance name:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2022 02:10 PM
Try gong to User Administration > All Active Transactions and kill it from there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2022 02:17 PM
Tried that - didn't help. Also tried the 'Active Transactions (All nodes)', and tried the following URL: https://removedtest.service-now.com/cancel_my_transaction.do
Didn't have any luck with the above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2022 05:19 AM
Support was able to terminate the while loop - and they stated that it can be done from the User end via the following link:
Replace "yourinstance" with your instance name: