Triggers for AI Agents

ayman_h
Kilo Sage
Kilo Sage

Hi,

I am trying to build an autonomous AI Agent that scans new Incidents when they land in a specific queue and adds a work note with possible resolution steps from similar KB articles and incidents.

 

I would like to define a trigger to avoid the AI Agent running every time a new Incident is created and only run when an Incident is created for a specific queue. There is a mandatory 'Run as' field in the AI Agent trigger, how do I set this to 'Run as' a System user to avoid using the other values such as the Requester or an Assigned to (which can initially be blank)?

 

Its my early days with AI Agents so please let me know if I am not thinking this right

 

Regards,

Ayman

8 REPLIES 8

anubhavkapoor76
ServiceNow Employee
ServiceNow Employee

If you are referring to the trigger that you define in 'use case' in AI Agent Studio - then i believe you have to use the choices in that list only.

The choice list for Run as is populated through the script include 

AIATriggerReferenceList

In the May 2025 release for AI Agents (Yokohama Patch 3/Xanadu Patch 9), there is an option to do a Script for the 'Run as', which is a solution to this. 

@ayman_h - Thanks for highlighting it!

We installed the Xanadu Patch 9, but the option to use the script as "Run as" is still not there. Does anybody know the current status of this feature? Has its release been postponed?