How to check long running scripts what are the recommendation and the best practices.

Meenal Gharat
Tera Guru

Hello Experts,

I am looking for the recommendations and best practices to replace long running scripts.

Kindly advise

Thanks and Regards,

Meenal

1 ACCEPTED SOLUTION

Anurag Tripathi
Mega Patron

There are many ways to go by it

1) you can always check the 'All active transactions' from left nav.

2) You can take a look at slow queries and scripts and debug there.

find_real_file.png

 

One very important thing to note is: If there is a script that runs once a month for 5 mins Vs a script that runs 50 times a day for 30 sec, which one do you think needs more attention? 🙂

 

-Anurag

 

 

-Anurag

View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron

@Meenal Gharat 

Hope you are doing good.

Let me know if that answered your question.

If so, please mark appropriate response as correct & helpful so that this thread can be closed and others can be benefited by this.

Regards
Ankur

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