- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2022 04:37 AM
Hello good people 🙂
TLDR; Pretty much what the title says. I'm assuming you can delete the record in the "v_cluster_transaction" table, but would it be possible to query and kill certain transactions? I know you can do it from UI, but could it be done, e.g. in a scheduled job?
We have had some issues in the past with jobs running for a very long time, especially rest calls. I know you can limit this, either in the rest api or via timeouts in transaction quota rules. We consider
So far I haven't been able to find any utilities or functions that enables the transaction from background script, is it not possible?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2022 02:06 AM
GlideTransactionManager.kill(current.session_id);
Found in the "kill" ui action.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2022 05:15 AM
Hi @Sitrix ,
I have never used any scripts or scheduled jobs as such for killing the transactions .
The preference is always to this Blog : https://www.servicenowelite.com/blog/2016/11/4/viewing-and-killing-transactions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2022 06:27 AM - edited 10-10-2022 06:47 AM
Thanks for the reply Sandeep 🙂
The idea was to automate it. I know theres a gui, but its of little use.
Edit: Also, it would be interesting to know the difference between killing and deleting a transaction. Are SN doing magic in the background when triggering via kill, or does it simply delete?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2022 10:08 AM
Hi @Sitrix ,
The approach i have shared is the recommended way of doing!!
Killing would cancel the transaction and Deleting is not recommended!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2022 02:06 AM
GlideTransactionManager.kill(current.session_id);
Found in the "kill" ui action.