ServiceNow Force Scheduled Job into Update Set
ServiceNow Blog
·
Apr 09, 2024
·
article
ServiceNow Force Scheduled Job into Update Set
2 approaches:
- use the 'force to update set' button which is a utility available on the Share:
- use the following approach:
Add Scheduled Job to Update Set
basically, for the second approach:
Make the update set you want to capture this your current update set and just run this background script
var gr = new GlideRecord('sysauto_script');
gr.get('<sys_id of your scheduled job>');
var gum = new GlideUpdateManager2();
gum.saveRecord(gr);
It will get captured in your current update set.
View original source
http://www.cloudminus89.com/2024/04/servicenow-force-scheduled-job-into.html