How to define trigger for mutiple users in ai agent use case in servicenow

bindumadhav
Tera Contributor

Hi, 

 

In ai agent use case there is 'Define Trigger' section to automatically trigger a use case which takes a single user. But my requirement is to define trigger to all the users in the assignment group when an incident is created.

 

With the custom script I can only return string and I am able return only one user.

 

Can anyone help me with this?

3 REPLIES 3

palanikumar
Mega Sage

You can use "Use existing table" instead of custom script and select "Assigned to [task]"

palanikumar_0-1753347158152.png

 

Thank you,
Palani

It is only taking single user. How do I define trigger to all the user's from the assignment group on the incident record?

I think Trigger supports only one user. If the purpose is to notify users, you can create a VA topic and send notification to the entire group

Thank you,
Palani