How to add scheduled job script in update set?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2021 12:16 AM
Hi,
I have created a Local Update Set and then created a Scheduled Job Script and Report. After testing, if it is successful I will have to move the Local Update Set from Dev to Prod. But the issue is "The Scheduled Job Script is not captured in the update set". so I would like to know if there is any way to move the scheduled job script to Prod safely.
- Labels:
-
Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2021 12:31 AM
Hi,
You can just export it into XML and Import it in the target instance, it works the same way and I have done it that way multiple times, its safe.
-Anurag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2021 01:00 AM
OR
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.
-Anurag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2021 12:39 AM
Check out this free utility from ServiceNow Share:
It lets you add almost anything into an Update Set, even data.
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2022 05:00 AM