You need to sign in to do that
Don't have an account?
Suman Kuch
Change sets error on Duplicate rules
Hi,
I was trying to upload Dupicate Rules along with Correspondng Matching rules from partial SB to Full SB but got the following error while validating the Inbound change sets. basically the error is related to the duplicate rules order on a custom object. I wrote 3 rules on that object but no clue how to set the order.
I was trying to upload Dupicate Rules along with Correspondng Matching rules from partial SB to Full SB but got the following error while validating the Inbound change sets. basically the error is related to the duplicate rules order on a custom object. I wrote 3 rules on that object but no clue how to set the order.
AQAddress__c.Address_Duplicate_Matching_Rule Duplicate Rule 0 0 SortOrder must be in sequential order from 1.
You can use the Reorder link as highlighted in the snapshot below to set the order in which the specified Duplicate Rule is processed. By default, any newly created Duplicate Rule is always ordered last and hence processed last.
In your case, it seems that there are multiple Duplicate Rules with the same sort order value specified which is restricitng your change set from being deployed. Hence, try specifying a max Sort Order value which is not present in the destination org and try redeploying. You can then manually edit the sequence of firing Duplicate Rules on your full Copy Sandbox using the Reorder link specified in the snapshot above.
Please mark this thread as SOLVED and answer as the BEST ANSWER if it helps address your issue.
All Answers
You can use the Reorder link as highlighted in the snapshot below to set the order in which the specified Duplicate Rule is processed. By default, any newly created Duplicate Rule is always ordered last and hence processed last.
In your case, it seems that there are multiple Duplicate Rules with the same sort order value specified which is restricitng your change set from being deployed. Hence, try specifying a max Sort Order value which is not present in the destination org and try redeploying. You can then manually edit the sequence of firing Duplicate Rules on your full Copy Sandbox using the Reorder link specified in the snapshot above.
Please mark this thread as SOLVED and answer as the BEST ANSWER if it helps address your issue.
I saw destination org has one inactive duplicate rule and i'm deploying 3 are new rules, so could you tell me how to set the order in source org? so you want me to set 2,3,and 4? In fact the existing rule in dest is not in source org. would that be a problem?
And the order can be set as 2, 3 and 4 provided there is already a criteria at order # 1.