Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Trigger condition with script

Ramya SL
Tera Contributor

Hi, My requirement is to trigger a CSAT survey to newly onboarded users who have completed 5 days from joining. My variables are first_name, last_name, user_id department description: which has user_id and start_date value start_date ticket_status. My challenge is: Is there any way through which we can trigger a scat survey questions to all the users who are newly onboarded through script where the coditions should be included in the script itself ticket_status is closed complete and start_date=5 days. Then trigger the csat survey link to those users. Can we use trigger rule for this case and how? Since its a catalog item we dont have start_date field inbuilt. So we want to have this condition through script. Any suggestions for this case will be very helpful.

0 REPLIES 0