How to check if AI Agent Log

Pawan Somwanshi
Tera Contributor

Hi Community,

Instance: Yokohama.

I have AI Agent created with 2 Script tools, 1 is to get details from table record to compare and other is to update comparison in same table record. both have input as 'number', This AI Agent set trigger on Record Create with 'Draft' State.

 

I tested it from Agent studio (the last step when we do save and test), passed the number of record and can see both tools executed as prompted to get details and comparison updated successfully.

 

Now I am testing it on actual trigger that is on record Create:

 

I can see The Flow which is auto created when we configured on AI agent Executed, in Flow Execution I can see Action "AIA Trigger use case" is completed but nothing happened on table record. means comparison not updated.

 

I am trying to troubleshoot this, I put gs.info(); at top in script tool but not found in sys log, looks like script tool not executed.

 

How we can troubleshoot if AI Agent is triggered or not?

is Action "AIA Trigger use case" completed means AI Agent executed?

 

FYI, these AI agent was working till Dec 2025, don't know what happened now.

 

is ServiceNow updated anything related to AI Agent in recent patch? 

 

Quick help appreciated.

 

2 REPLIES 2

Tanushree Maiti
Mega Sage

Hi @Pawan Somwanshi 

 

Check this sys_generative_ai_log  table , if it helps you.

 

Also you can check this think: How to troubleshoot AI agent

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB2653989#:~:text=If%20the%20is....

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Hi @Tanushree Maiti ,

 

Thank you for quick response.

sys_generative_ai_log need maint role to read record.

 

I will check given KB if it helps me.