How to deactivate AI Agent

Balakrishna_ABK
Tera Guru

Balakrishna_ABK_0-1780988701753.png

 I am trying to deactivate AI Agent.

When I turned AI Agent off and clicked on Save and Test, I can see still Agent is active.

4 REPLIES 4

Nilesh Pol
Kilo Sage

@Balakrishna_ABK 
It because the AI Agent Studio UI wrapper doesn't always automatically push changes down to the active backend version record or trigger profile.

follow below steps to completely deactivate the agent and stop it from running during testing:

Enter sn_aia_version.list to open the backend AI Agent Version data table.

Open the record and change the State field value from Active or Published to Withdrawn (or uncheck the Active checkbox if visible).

Go to AI Agent Studio > Create and Manage.

Click your specific AI Agent and locate the Triggers tab.

Locate the mapped application event/trigger and explicitly switch its individual toggle state to Inactive.

and at the end clear cache cookies for instance.

Its_Azar
Mega Sage

Hi there @Balakrishna_ABK 

go ahead open this table - sn_aia_version and select the agent and mark it inactive.

☑️ If this helped, please mark it as Helpful or Accept Solution so others can find the answer too.

Kind Regards,
Azar
Serivenow Rising Star
Developer @ KPMG.

Tanushree Maiti
Tera Patron

Hi @Balakrishna_ABK 

 

Try the solution as provided in this post : I Want to Deactiave Version from AI agent studio 

 

"Try working around it by going to the AIA Version [sn_aia_version] table in the back-end view (UI16 / Next Experience). On the duplicate version you want to deactivate, there's a State field, and you can try changing the value to be Withdrawn."

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

Tanushree Maiti
Tera Patron

Hi @Balakrishna_ABK 

 

Also check this KB: KB2823130 How to stop AI Agent and Agentic Workflows in in-progress state that were unintentionally ... 

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti