Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Triggering Survey using scheduled job

HarshaV46083466
Tera Contributor

Scheduled Jobs are used to run scripts or tasks automatically at defined times or intervals. They are mainly used for automation, maintenance, and background processing.
Assessment Metric Types:
In the survey you have to set the trigger conditions for when to send the survey.
so , we have to create the trigger conditions for the survey.
Screenshot 2026-03-20 at 7.56.41 PM.png

->By clicking new.
->In the below i created trigger condition for the requested item table in which i given condition both active is true and false.
->by giving condition like this the survey will never triggered. i given because there is main reason behind it.
-> in the service now there is a business rule which is created for every survey if create trigger conditions for it.
->and it is adding the trigger conditions of survey as the condition for the business rules script to run.
Screenshot 2026-03-20 at 8.03.22 PM.png

->so the 'Auto assessment business rule' helps to send the survey.
->by using the impossible condition 'Active is true and false' it stops the business rules script to execute. so business rule cannot able to send the survey.
Scheduled Jobs:

-> Now created the scheduled job and add the day and timings when i want to send the survey.
->one important thing is to trigger the we must use the script present in the business rule so i pasted the same script in the scheduled job script .
Screenshot 2026-03-20 at 8.09.01 PM.pngConclusion:
    Now the survey will trigger every Friday , as per given in the scheduled job.This is better when you particularly want whenever you want to send the survey then you can use the scheduled jobs.





0 REPLIES 0