Error Reference

Update set commit conflict: record modified in both sets

Update set commit conflict: record modified in both sets

Where this appears

This error appears in the ServiceNow user interface when attempting to commit an update set through System Update Sets > Local Update Sets or System Update Sets > Retrieved Update Sets. The error displays in the commit progress dialog or on the update set form when ServiceNow detects that a record in the current update set conflicts with changes from another update set that was committed after the current set was created.

Sourdough
Chrome Extension

Debugging this in a real instance?

Sourdough lets you trace "Update set commit conflict: record modified in both sets" through system logs, script errors, and API health in the ServiceNow tab you are already using.

Add to Chrome

Free to install. Pro $5/month after a 14-day no-card trial.
Pro requires the ServiceNow admin role. Upgrade inside the extension.

Overview
Tasks
CMDB
API
Metrics
Monitor
Internals
Instance:sourdoughdev·Version:Yokohama
Instance StateONLINE
System StatusFully Operational
Session Timeout90 minutes
Logged-In Sessions2 (20 active)
Build Nameyokohama-12-18-2024_p1
IP Address10.159.128.43
Instance HealthHealth Score: 90%
🔥 5dSourdough (Chrome Plugin)Dark Mode

Cause

Two development teams modified the same record (form, field, business rule, etc.) in different update sets that were created from overlapping baselines, causing conflicting changes when committing. (high likelihood)

An update set was retrieved from another instance where the same records had been modified locally, creating conflicts between remote and local changes. (high likelihood)

A previously committed update set modified records that are also present in the current update set being committed, and the changes are incompatible. (medium likelihood)

Multiple update sets containing the same customization were committed out of sequence, causing version conflicts in the sys_update_xml table. (medium likelihood)

System cloning or data import operations modified records that exist in pending update sets, creating unexpected conflicts during commit. (low likelihood)

Fix

Step 1: Navigate to System Update Sets > Local Update Sets (or Retrieved Update Sets) and open the conflicting update set to view the detailed error message and identify which specific records are in conflict.

Step 2: Go to System Definition > Tables and open the sys_update_xml table, then filter by update_set field using the conflicting update set's sys_id to see all records in the set.

Step 3: For each conflicting record, compare the payload XML in the sys_update_xml record with the current state of the target record in the system to understand the differences.

Step 4: Use the Update Set Preview functionality by navigating to System Update Sets > Preview Update Set to analyze conflicts before committing and see side-by-side comparisons.

Step 5: Resolve conflicts by either manually editing the target records to incorporate both changes, or by removing conflicting update XML records from the update set if they're no longer needed.

Step 6: Create a new update set and manually recreate the desired final state of conflicting records, then test thoroughly before committing the resolution update set.

Step 7: If conflicts are too complex, consider backing out recently committed conflicting update sets using System Update Sets > Backed Out Update Sets, resolve conflicts offline, and recommit in proper sequence.

Step 8: After resolving all conflicts, retry committing the update set and verify that all changes were applied correctly by testing the modified functionality.

Test Your Knowledge

Quick 3-question quiz. See how your ServiceNow skills stack up.

Question 1 of 3Performance

A list view on a table with millions of records is slow. Best fix?

Select an answer to continue