How do I stop a background script from running

Priyanka Mathur
Tera Contributor

Hi Experts,

How can I stop a background script from running.

find_real_file.png

Regards,

Priyanka

23 REPLIES 23

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

As mentioned by members find the transaction and kill it.

refer below additional link

https://www.servicenowelite.com/blog/2016/11/4/viewing-and-killing-transactions

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@Priyanka Mathur 

Thank you for marking my response as helpful.

If my response helped you please mark it correct to close the question so that it benefits future readers as well.

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@Priyanka Mathur 

Thank you for marking my response as helpful.

If my response helped you please mark response as correct and close the thread so that it benefits future readers as well.

Regards
Ankur

 

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Akshay Bhaskar
Kilo Sage

Hi Priyanka, 

1st Method :
As Hemant & Suseela suggested - you can go to - 

1. ServiceNow Filter Navigator > System Diagnostics > All Active Transactions (Nodes) 
2. Find the latest record which is being created by you or updated by you
3. Select that record and click on the selection - Kill in the dropdown
find_real_file.png


2nd Method : 
Allow the background script to run till its completed and rollback the action that you executed. It will ensure that all modifications are reverted. 

Hi Akshay,

Can you please tell me how much time, does it take for the background script to be complete?

Regards,
Priyanka