Triggering Survey using scheduled job
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
8 hours ago
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.
->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.
->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 .Conclusion:
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.
