ServiceNow Learning#22 : Shortcut to capture Scheduled JOB in update set or Application Scoped Updat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2023 01:44 AM
Hi All,
If you want to capture the scheduled job or anything that doesn't capture in update. There are various option to do this. One shortcut if your instance doesn't have "Add to Update Set" UI action available.
Create the scheduled job and run this below script once in background script then it will capture it in your current selected update set.
var rec = new GlideRecord('tablename');
rec.get('sys_id');
//Push the record into the current update set
var um = new GlideUpdateManager2();
um.saveRecord(rec);
Manually Add a Record to an Update Set - ServiceNow Guru
Adding Record Attachments to ServiceNow Update Sets | John Andersen (john-james-andersen.com)
Hope this helps you.
Regards,
Shamma
- 663 Views