Problem: Automating Update Set Transfer with UI Actions in ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 03:17 AM
I want to automate the process of transferring an update set between ServiceNow instances using a UI Action, eliminating the need for manual XML downloads and uploads.
Requirements:
- UI Action that:
- Exports the Update Set as XML from one instance.
- Sends it to the target instance via REST API.
- Previews and commits the update set automatically on the target instance.
Challenges:
- Exporting Update Set: How can we export an update set (including scripts, business rules, etc.) as XML using UI Actions?
- Secure Transfer: What’s the best way to securely transfer the XML file between instances using REST API from a UI Action?
- Preview/Commit: How can we trigger the preview and commit of the update set on the target instance via UI Action?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 07:24 AM
See:
Use the "Update Sources" module from the Navigation menu. In Prod, defined Test as an Update Source, in Test define Dev as an Update Source. Then login to the desired instance as Admin and retrieve any Completed update sets in the lower instance. Refer to the documentation link I posted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2025 02:44 AM
I need to make a button on the sys_update_set form which will send a particular update completely to the other instance.