Blog

Viewing and Killing Transactions

Knowing how to kill a transaction is not important.  Until it is really important.

VIEW ACTIVE TRANSACTIONS

There are many reasons to visit the "All Active Transactions" module in ServiceNow.  Taking a casual glance is usually not the reason.

Why would you want to view all transaction?

  1. Something is not right.  You sense trouble.
  2. You KNOW there is something wrong.

How to view active transactions

  1. If high security is enabled, elevate privileges to security_admin.  Might not applicable in Helsinki.
  2. Using the Left Navigation Bar, Navigate to User Administration > Active Transactions.
Active Transactions Form

Active Transactions Form

Kill a transaction

ServiceNow doesn't really bleed I guess.

After viewing the list, there is a transaction you want to stop. Why would you have a reason for killing a transaction?

  1. Someone you now dislike created an infinite loop in the code
  2. Something important is being deleted at a rapid pace
  3. A job is taking forever, most likely an integration

HOW TO KILL A TRANSACTION

  1. If high security is enabled, elevate privileges to security_admin.  Might not applicable in Helsinki.
  2. Using the Left Navigation Bar, Navigate to User Administration > Active Transactions.
  3. Select the transaction you want to stop.
  4. Either right-click on the record and select Kill, or select the check box next the to record and select Kill from the Actions on selected rows drop-down at the bottom of the list.

Killing a transaction

Transaction Not Found

If you can't find the transaction, but you know it is still running, you can contact HI Support.  They can help you kill the job.

Have you no patience and want to kill it yourself? There is another way to track it down.

Determine available nodes

Your ServiceNow instance has multiple nodes.  The transaction might on a different node.  You have to be logged on to the correct node to see it.  First you have to find out how many nodes you have.

  1. Using the Left Navigation Bar, type sys_cluster_state.list

The available nodes in your instance is shown.

Node States

If you have two or three nodes, I would consider going on.  If you have 6-10 nodes for your instance, might want to give up and contact HI support.

Determine your NODE

You need to determine what node you are logged on into.  

  1. Using the Left Navigation Bar, type stats.do

The node id will match up with the node.

stats.do

LOGIN BINGO

Chrome Incognito Mode

You can either use multiple browsers or incognito mode on a browser to login multiple times to the ServiceNow instance.

Keep using stats.do to until you find success and login to the right node.

This isn't the best, but ServiceNow took away a lot of the "creative" ways to login into a specific node in earlier releases.

Once you are on the right node, head to the transactions page and see what is going on.