Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

What is difference between batch update set and merge update set in ServiceNow.

niveditakumari
Mega Sage

Hi, 

 

What is difference between batch update set and merge update set in ServiceNow. 

Can anyone please make me understand it with example for it. 

 

Regards, 

Nivedita

 

 

1 ACCEPTED SOLUTION

Ashir Waheed
Kilo Sage

Hi,

 

In merge update set, You can merge multiple update sets into a single update set. while Batch update sets enable you to group update sets together so you can preview and commit them in bulk.

 

For Merge Update Set

1. Navigate to System update set->Merge update set. 

2. Based on filter conditions you can choose which update set 

3. By merging you will have one merge update set that will contain all the configuration and customization

AshirWaheed_0-1675203949253.png

 

For Batch Update set

1. Batch update sets enable you to group update sets together so you can preview and commit them in bulk.

2. This update set contain a parent child relationship where the individual updates stay within the respective.

3. In the Highlighted parent field I can choose the update set which will act as parent. So the Update Set V1 will become Batch Base.

AshirWaheed_1-1675204614637.png

4. When Update set are completed then we batch them into group to avoid problem like committing in wrong order.

 

For more Information you can Visit the following link:

Update Set Batching

Merge Update Set

 

 

Regards,

Ashir Waheed

View solution in original post

6 REPLIES 6

Ashish04
Tera Contributor

Hi,

MERGE UPDATE SET:-

Merging update set is a functionality through which we can merge multiple update set in a single update set. Let says three developers are working on same requirement and having update sets such as updateset1, updateset2, updateset3. 

So, after implementation we can merge all of them in a single update set so that all the updates will get captured in a single update set in ServiceNow. Remember that you cannot unmerge the update set once it gets merged. 

 

Below are the steps to merge the update set:

  • Login as Administrator
  • Type “Update Set” in left side filter navigator.
  • You will find two option such as “Merge Update Set” and “Merge Completed Sets”. Here “Merge update set” will display those update set which are in progress and “Merge Completed Sets” will display update set which are completed. So, you can click any of them accordingly. Let’s say click on “Merge Update Set”
  • You will find the list of update set at the bottom. Now you have to select the update set you want to merge. For that you have to apply filter to only make available those update sets in the list you want to merge.
  • Click on funnel icon, apply filter accordingly and click on Run. So, once you click on run the filter query applies and merge button will get displayed below.
  • Before clicking on merge button, Fill the Name in Name and description in above fields.
  • Click on Merge button, Confirmation box appears and then click on Ok button.

Merge update sets take all updates from selected update sets and puts them all in 1: https://docs.servicenow.com/bundle/paris-application-development/page/build/system-update-sets/task/...

It is advised to use Batch update set.

 

BATCH UPSATE SET:-

Batch update sets contain a parent child relationship where the individual updates stay within the respective sets: https://docs.servicenow.com/bundle/orlando-application-development/page/build/system-update-sets/hie...

Please mark reply as Helpful/Correct, if applicable. Thanks!


Regards

Ashish

 

 

aditya174
Tera Guru

Hi @niveditakumari ,

Update Set :  

An update set is a group of configuration changes that can be moved from one instance to another. This feature allows administrators to group a series of changes into a named set and then move them as a unit to other systems for testing or deployment.

An update set is an XML file that contains:

A set of record details that uniquely identify the update set.
A list of configuration changes.
A state that determines whether another instance can retrieve and apply configuration changes. 

 

Now, coming to Batch Update set and Merge Update set: 

Update set Batching:

  • Batch update sets enable you to group update sets together so you can preview and commit them in bulk.
  • It helps to avoid committing of update sets in the wrong order, so batching is used to avoid the problem of leaving behind any un-committed update set behind.
  • The system organizes update set batches into a hierarchy. One update set can act as the parent for multiple child update sets.
  •  A given set can be both a child and parent, enabling multiple-level hierarchies. One update set at the top level of the hierarchy acts as the base update set.
  • When you preview or commit the base update set, you preview or commit the entire batch. The system determines the processing order, and checks for collisions, based on the dates the changes were recorded, and on their sequential ancestry. Their ancestries are the specific instances in which the changes in the update sets took place.
  • The individual updates stay within the respective sets.

Merge Update Set: 

  • Use to merge multiple update sets into a single update set. 
  • Once they are merged you can not unmerge the update sets.
  • No hierarchy is followed in the merge update set.
  • The latest update overrides the oldest one.

So above are the few differences between Merge and Batching of update set. I hope you find this explanation satisfactory.

 

Some Links to refer:

Merge update set: merge update set

Batch Update set: batching update set