- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2019 04:38 AM
hi all, can you suggest 1) Where and how On-demand scheduled jobs are used?
2) The various means by which we can call On-demand scheduled jobs.
3) Can we make business rules run through scheduled jobs?
Answer with brief explanation and use cases/ examples would be helpful....
Thanks....
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2019 04:59 AM
Also you can run the scheduled jobs daily,monthly,weekly, periodically as per your requirement.
But the on demand scheduled jobs will run only if you manually execute.
Others will run automatically based on your scheduled time.
If my reply has helped you,Kindly click the Helpful button.
If my reply is the answer you were looking for, Kindly click the Accepted Solution button.
Thanks,
Priya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2019 04:55 AM
Hi,
Ondemand scheduled jobs will run only if you manually execute the scheduled job.
Business rules will run based on a table's operation like insert,update,delete,query.
The code which you have in the business rule can be placed in a scheduled job i.e Scheduled script execution.
If my reply has helped you,Kindly click the Helpful button.
If my reply is the answer you were looking for, Kindly click the Accepted Solution button.
Thanks,
Priya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2019 04:59 AM
Also you can run the scheduled jobs daily,monthly,weekly, periodically as per your requirement.
But the on demand scheduled jobs will run only if you manually execute.
Others will run automatically based on your scheduled time.
If my reply has helped you,Kindly click the Helpful button.
If my reply is the answer you were looking for, Kindly click the Accepted Solution button.
Thanks,
Priya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2019 05:02 AM
Just to add on Priya's Answer(which is absolutely right on all accounts)
You can execute ondemand scheduled job via server side script too, eg business rule or script include
for More Details: https://www.servicenowguru.com/scripting/execute-scheduled-jobs-script/
-Anurag