ServiceNow Certification Mock Exams
Click To View Now
SNOWYCODE
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
How To Move Updates Between Update Sets In ServiceNow
How To's

How To Move Updates Between Update Sets In ServiceNow

How To Move Updates Between Update Sets In ServiceNow

Introduction

In the Now Platform, Update Sets ([sys_update_set] table) are logical containers consisting of Customer Update records ([sys_update_xml] table). This feature allows administrators and developers to easily move developments and customizations to different instances!

For most organizations, update sets (and their corresponding customer update records) are created within a Development instance, then moved to a Testing instance to be tested, then ultimately moved to a Production instance for deployment. The individual customer update records themselves usually stay contained within the specific update set they were originally recorded in.

In some situations, however, an administrator or developer may need to transfer customer update records between different update sets! This post will show you how to move updates between update sets in ServiceNow.

Real-world Use Case

There are a few scenarios in which a developer may desire to transfer customer update records from one update set to another, which can include:

  • Two developers had the same update set selected in their respective update set pickers, and both recorded customer update records to said update set as they performed their work. However, one of the developers later decides they want their customer updates to be contained in a separate update set.
  • A developer accidentally selected the incorrect update set before performing their work, causing their customer updates to be recorded in the wrong update set.

The procedures below describe two methods to transfer customer update records between update sets. Please note these procedures assume the developer is already familiar navigating the Now Platform, working with and sorting lists, and creating/using update sets.

1) Method 1: Start from an individual Update Set

This first method describes transferring the customer update set records by first using an Update set (table [sys_update_set]) to locate the desired customer update records.

1) Log into Now Platform and use the Application Picker to select the appropriate Application scope matching the desired update set from which update records will be transferred from

ServiceNow application scope
Selecting the proper Application scope

2) Click All to open the Filter Navigator and navigate to System Update Sets > Local Update Sets

3) Locate and open the desired update set containing the customer update records to be transferred

4) From the Customer Updates tab, right click on the hyperlink named Update set = <update set name> and select the "open new window" option

Opening a new window (or tab) for Customer Updates

5) Click on the new browser tab that was just created which displays the Customer Updates in a List view

6) Ensure the column for Update set is displayed. If this column is not in view, use the Personalize List gear icon to add it to the Customer Updates list

Personalize list columns
Adding the column for Update set

7) To edit the customer updates using the List Editor technique, place the mouse cursor in one of the cells in the Update set column... but avoid hovering the cursor over the actual hyperlink in the cell. (the cell will highlight, and the mouse cursor will appear an an arrow if done correctly)

8) While holding the Shift key, click and hold the left mouse button. The mouse cursor should become a plus sign if done correctly

9) Drag the mouse cursor through all the customer update records to be transferred, while keeping the cursor within the Update set column. Release the Shift key and left mouse button when finished. (Note: the Ctrl key can be used in lieu of the Shift key. This allows selecting individual Update set cells instead of dragging the mouse cursor)

Customer updates
Selecting the Update set cells using the List Editor technique

10) Once the desired Update set cells are selected, again place the mouse cursor in any one of the selected (highlighted) cells, while avoiding hovering the cursor over the actual hyperlink in the cell

11) Double-click the cell. If done correctly, the Cell Edit popup appears, stating "X rows will be updated."

List view of su
Cell Edit popup

12) Click the magnifying glass in the Cell Edit popup. A new Update Sets popup window appears

Sys_popup of update sets
Update Sets popup window

13) In the new popup window, select the desired Update set in which the selected update records will be transferred to. (ensure it's in the same Application scope as the original update set!) When selected, the Update Sets popup window should close

14) On the Cell Edit popup, click the green checkmark button to save the change. The update records are now transferred to their new update set!

On cell edit update set
Saving the update

2) Method 2: Start from the Customer Updates table

This second method describes transferring the customer update records by bypassing the Update set and starting from the Customer Updates table itself. (table [sys_update_xml])

1) Log into Now Platform and use the Application Picker to select the appropriate Application matching the desired update set from which update records will be transferred from

Application scope picker
Selecting the proper Application scope

2) To navigate to the Customer Updates table, in the Filter Navigator, type sys_update_xml_list.do and hit Enter

Filter navigator
Accessing the Customer Updates table

3) On the Customer Updates table, ensure the columns for Application, Update set, and Updated by are in view. If this column is not in view, use the Personalize List gear icon to add them to the Customer Updates table

List column personalization
Adding the columns for Application, Update set, and Updated by

4) Filter and/or sort the Customer Updates table to isolate the specific customer update records to be transferred. The Application, Update set, Updated by columns are useful for this purpose, but any other method of searching or filtering that provides results is suitable

Customer updates in list view
Sorting and filtering customer update records

5) To edit the customer updates using the List Editor method, Place the mouse cursor in one of the cells in the Update set column... but avoid hovering the cursor over the actual hyperlink in the cell. (the cell will highlight, and the mouse cursor will appear an an arrow if done correctly)

6) While holding the Shift key, click and hold the left mouse button. The mouse cursor should become a plus sign if done correctly

7) Drag the mouse cursor through all the update set records to be transferred, while keeping the cursor within the Update set column. Release the Shift key and left mouse button when finished. (Note: the Ctrl key can be used in lieu of the Shift key. This allows selecting individual Update set cells instead of dragging the mouse cursor)

Bulk editing in list view
Selecting the Update set cells using the List Editor technique

8) Once the desired Update set cells are selected, again place the mouse cursor in any one of the selected cells while avoiding hovering the cursor over the actual hyperlink in the cell

9) Double-click the cell. If done correctly, the Cell Edit popup appears, stating "X rows will be updated."

Bulk editing in cell pop-up
Cell Edit popup

10) Click the magnifying glass icon in the Cell Edit popup. A new Update Sets popup window appears

Changing update set
Update Sets popup window

11) In the new popup window, select the desired Update set in which the selected update records will be transferred to. (ensure it's in the same Application scope as the original update set!) When selected, the popup window should close

12) On the Cell Edit popup, click the green checkmark button to save the change. The update records are now transferred to their new update set!

Changing update set in cell edit
Saving the update

Alternate technique for editing Customer Update records using Data Management

Let's talk about a different way to move updates between update sets in ServiceNow

The List Editor technique of editing the Customer Update records described in both Method 1 and 2 above only works if the glide.ui.list_edit system property is enabled. While this property is enabled by default in a Now Platform instance, some organizations choose to disable for security reasons... which in turn disables list editing capabilities. Described below is an alternate technique to edit multiple Customer Update records (or any record!) using the Data Management function:

1) Locate the desired Customer Update records using either Method 1 or 2

2) Select each desired record by clicking the checkmarks on the far left side of the Customer Updates list (or just click the Select All checkbox)

Customer update in data management
Selecting records using the checkboxes

3) Hover the mouse over any column header in the Customer Updates list until "three dots" Column options icon appears

Column options
Column options

4) Click the Column options icon, then from the popup menu select Data Management > Update All with preview...

Data management
Selecting Update All with preview

5) On the Data Management Update Job form, locate the Fields & values menu field and select "Update set"

Data management update job
Selecting Update set for Fields & values

6) Click the magnifying glass icon to the right of the Fields & values field. A new Update Sets popup window appears

Data management update sets popup
Update Sets popup window

7) In the new popup window, select the desired Update set in which the selected update records will be transferred to. (ensure it's in the same Application scope as the original update set!) When selected, the popup window should close

8) Click the Update button to save the changes and reload the form

9) Click the Execute Now related link

Conclusion

Using the examples and techniques described above, you can now successfully move updates between update sets in ServiceNow.

This can come in handy when you make updates while not in the right update set (as we all do!) - so hopefully next time that happens, you can fix it quickly.

Thanks for reading and we hope this helps save you a few minutes each day!

Looking for something else? Check out our other Cheat Sheets below!

Snowycode team
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Read more