Loading

SortOrder Error "SortOrder must be in sequential order from 1" During Change Set Validation

Publiseringsdato: Jan 16, 2026
Beskrivelse

The following error message may appear during validation or deployment of an Outbound Change Set if the execution order of Duplicate Rules is inconsistent with the target organization:

"SortOrder must be in sequential order from 1"

This issue occurs because the SortOrder of the Duplicate Rules included in the Outbound Change Set is not sequential, or conflicts with the existing rules already in the target organization.

Løsning

The fix for this error depends on whether you're deploying Duplicate Rules that were reordered in the source organization, or brand-new rules. Follow the scenario below that matches your situation.

Resolution 
Scenario 1: Deploying Reordered Existing Rules

Include all Duplicate Rules that have been reordered in the Outbound Change Set.

Scenario 2: Deploying New Rules Created in the Source Organization

Set the order of the new Duplicate Rule in the source organization to be last among the existing rules in the target organization. Alternatively, include all Duplicate Rules whose order was changed in the Outbound Change Set.

Note

All Duplicate Rules, even those that are inactive, must be included in the Outbound Change Set if they affect the sequential order.

Flere ressurser
Knowledge-artikkelnummer

005263977

 
Laster
Salesforce Help | Article