schedule job from a BR
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2023 03:49 AM
can we call a BR from another BR?? if yes then how.
can we call a schedule job from a BR?? if yes then how
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2023 03:53 AM
responses
can we call a BR from another BR?? if yes then how. -> no, 1 BR can lead to trigger of another BR if the record gets updated and the 2nd BR condition matches, this happens automatically and no script required
can we call a schedule job from a BR?? if yes then how -> I won't recommend this. but here is the script which you can use to run schedule job from BR
var rec = new GlideRecord('sysauto_script');
rec.get('name', 'YOUR_JOB_NAME_HERE');
gs.executeNow(rec);
If my response helped please mark it correct and close the thread so that it benefits future readers.
Regards,
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader