How Do You Abort/Stop a Running AI Agent

SN Arch Guy
Giga Guru

How do you abort or stop a running AI Agent? See the screenshot below taken from the AI Agent Studio Activity tab, where some of the executions have a state of In progress. In the first instance, I initiated the agent from the Now Assist panel on a customer service case; in the second and third instances, I initiated the agent from the AI Agent Studio Create and manage tab. The third instance cancelled after some timeout period but I want to be able to cancel these earlier during development testing.

 

SNArchGuy_0-1765825524133.png

 

3 REPLIES 3

amanghei
Tera Contributor

Its likely tied to a semaphore on the node. Open another tab, /cancel_my_transaction.do, press enter and then close the original tab. 

You can confirm this in Active transactions module. 

There are no active, related transactions to cancel.

rpriyadarshy
Giga Guru

@SN Arch Guy   Try This

 

  • To kill a running AI Agent job in ServiceNow, follow the official ServiceNow documentation for viewing and terminating active transactions:(View and kill active transaction)
  • Specifically, look for and terminate the jobs named "Update AIA agent messages" or "Update AIA tool messages" if they are currently running.

Regarads

RP