schedule job from a BR

shid077
Tera Contributor

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

Ankur Bawiskar
Tera Patron
Tera Patron

@shid077 

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