Skip to tutorial content
Rate module Not yet rated

Backing Out & Merging

3 min read
On this page

In this lesson, you will learn:

  • How to back out a committed update set
  • What merging update sets does
  • Why batching is often better than merging

1 Backing out: the undo button

You committed an update set to snwrtest, and something broke. 😬 You can back it out: undo the changes it made on that instance.

Key term: Back out

Reverses a committed update set on the instance where it was committed. Changed items go back to their earlier version, and new items it added are removed.

  1. On the target instance, open System Update Sets > Retrieved Update Sets (or Local Update Sets).
  2. Open the committed update set.
  3. Click Back Out and confirm.

⚠️ Heads up: Back out only undoes configuration. It won’t fix data that was changed while the bad update was live. And if later update sets changed the same items, backing out can get messy. Test carefully in snwrtest first.

2 Merging update sets

Sometimes you have several small update sets that should move as one. Merge Update Sets combines them into a new update set.

Merging compared with batching. Merge: three update sets A, B, and C are combined into one new update set. If the same item is in more than one, only the newest version is kept. The originals should no longer be moved. Batch: the three update sets become children of a parent update set. They stay separate, keep their own history, and are previewed and committed together in order. Batching is the recommended option.
Figure 1. Merge makes one new set. Batch keeps them separate but moves them together.
Merge Batch (parent update set)
Result One new update set Original sets grouped under a parent
History Lost: you can’t tell which change came from where Kept: each set stays separate
Moving Move the merged set only Preview and commit the whole batch together
Where System Update Sets > Merge Update Sets Set the Parent field on each update set

πŸ’‘ Good to know: ServiceNow recommends batching over merging. You keep the history, and you can still move everything in one go.

⭐ Remember: Back Out = undo a commit. Merge = combine into one new set. Batch = group under a parent (preferred).

3 Let’s try it: batch two sets

  1. Create a parent update set named SNWR Release October.
  2. Open two of your completed update sets. Set their Parent field to SNWR Release October.
  3. Open the parent. Do you see the children in its related lists?
  4. Mark the parent Complete. Now the whole batch can be retrieved together.

4 Quick recap

  • Back Out reverses a committed update set’s configuration
  • Merge combines sets into one new set, but loses history
  • Batching groups sets under a parent and keeps history
  • Prefer batching over merging

5 Check yourself

Think of your answer first. Then tap to check.

1 A committed update set broke something in test. What can you do? Show answer

Back it out on that instance.

2 Two merged update sets both changed the same script. Which version is kept? Show answer

The newest one.

3 How do you make an update set part of a batch? Show answer

Set its Parent field to the parent update set.

Nice work! You finished this lesson. πŸŽ‰

Was this lesson helpful?

Have a question or doubt?

Ask here and get help from instructors and fellow learners.

0 / 300

Only logged-in learners can post.