Best practices for migrating Update Sets between instances
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago
Hi All,
We regularly migrate Update Sets between Development, Test, and Production environments.
I would like to understand the best practices for:
- Preventing missing dependencies
- Validating update sets before migration
- Handling conflicts during commits
- Maintaining version control
Any guidance from experienced administrators would be helpful.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Preventing Missing Dependencies
- Create exactly one update set per user story to cleanly isolate functional changes.
- Connect multiple related sets using batch update set so they migrate together automatically.
- Always publish Workflows, Flow Designer flows, and Virtual Agent topics before marking the set as Complete.
- Keep a dedicated checklist for configurations not captured by default, such as transactional data, scheduled jobs etc.
Validating Update Sets Before Migration
- Review the sys_update_xml related list to delete unintended logs
- Limit a single update set to fewer than 50/100 records to ensure scannability.
- Always click Preview Update Set on the target instance immediately before attempting to commit.
- Ensure Dev, Test, and Prod run on the identical platform patch release to prevent schema mismatches.
Handling Conflicts During Commits
- Use the Compare to Current feature on preview errors to evaluate differences side-by-side.
- Explicitly choose Accept Remote Update if the migration contains the newer configuration, or Skip Remote Update if the target environment's file must be preserved
- Commit updates outside core operating hours to minimize the performance impact of platform cache flushes.
Maintaining Version Control
- Use a structured format such as [Story#]_[App Shorthand]_[Description]_[v1.0] for instant identification and sorting tracking.
- Use the native platform utility to blend child sets instead of moving files manually; this automatically cleanses duplicate entries and keeps only the latest timestamped iteration.
- Switch the state of imported sets to Ignore on Production right after a commit to shield them from unintended re-application during instance cloning.
- For custom or scoped applications, leverage native Git integration via ServiceNow Studio or the App Repository to replace manual update sets with branches and tags
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
59m ago
Lots of good replies, so I'm not going to add much to the discussion, except for one tidbit that has caused me some anguish in the past.
When updating a workflow, MAKE SURE YOU PUBLISH IT BEFORE YOU CLOSE THE UPDATE SET.
Otherwise, when you copy the update set to the next instance, you may not get the latest version of that workflow.