The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Urgent - how do i cancell running script on server ?

Pastupe
Mega Guru

Hello all,

I created business rule type update.

Then I updated record and my rule now create records on cmdb_rel_ci table and it continue.

I cannot stop it and I dont know how.

Would you please help me to cancell running rule/ script ?

 

Records on cmdb_rel_ci table ste still created and there is now over 200 000 records.

Thanks for help

Petr

11 REPLIES 11

andrew_venables
ServiceNow Employee
ServiceNow Employee

Hi Petr,



I recommend you contact ServiceNow support, they will better be able to assist with issues like this.



Andy


SOLVED!!!


will inform you soon about solution. Wait for technical detail.


P.


Jacob_Andersen
ServiceNow Employee
ServiceNow Employee

Your script will lock up your current browser session.   The only way to progress from here is to use a different browser (or open a window in incognito mode) and log in again.   Then,



Go to All Active Transactions


Find the transaction that is your script


Open the record and click on the 'Cancel Job' UI action.



Good luck!


Hi all,


so the solution was as mentined to kill active transaction.


I was not able to do this even i killed the job. Somebody else from our team has logged in and killed mentioned script transaction through Active Transactions - different Admin user.



Thanks to all for help, time and effort on this. I have learned here how to solve such issues in the future.


Petr


Alex North
ServiceNow Employee
ServiceNow Employee

An additional trick you can use if your browser session is blocked, is to navigate to https://myinstance.service-now.com/cancel_my_transaction.do



This behaves in the same way as navigating to the 'Active Transactions' module and will, in most cases, terminate the running transaction which is blocking your session.



This is quite handy, as you are not reliant upon other people to intervene on your behalf. You also do not have to play node-roulette with the load balancer to find your way to the same node (if you were to use a different browser and the Active Transactions module).