+ Start a Discussion
gupta shikhagupta shikha 

Getting error while deploying Duplicate role to Production

Getting error while deploying Duplicate role to Production
 | ERROR | [DuplicateRule PersonAccount.TRS_Person_Account_Duplicate_Rule] SortOrder must be in sequential order from 1.
 
We are trying to deploy Duplicate rules from one org to Production but getting error
Deployment tool - Copado
Best Answer chosen by gupta shikha
VinayVinay (Salesforce Developers) 
Hi Gupta,

You can use the Reorder link to set the order in which the specified, Duplicate Rule is processed and by default any newly created Duplicate Rule is always ordered last and hence processed last.

Please mark as Best Answer if above information was helpful.

Thanks,

All Answers

VinayVinay (Salesforce Developers) 
Hi Gupta,

You can use the Reorder link to set the order in which the specified, Duplicate Rule is processed and by default any newly created Duplicate Rule is always ordered last and hence processed last.

Please mark as Best Answer if above information was helpful.

Thanks,
This was selected as the best answer
gupta shikhagupta shikha
Can you guide how to reorder ?
VinayVinay (Salesforce Developers) 
You can click on Setup-->Quick Find-->Open duplicate rule.  Below is the screenshot reference.

User-added image

Thanks,
gupta shikhagupta shikha
I made the rule last in the sequence, it worked 
Thanks @vinay
fgfh rygffgfgfh rygffg
I noticed you're facing an error when deploying a duplicate role to production. Deployments can be tricky sometimes! Have you tried reviewing the role configuration thoroughly? Also, don't forget to take a quick my daily starbucks (https://starbuckspartnerhours.us/) break to clear your mind – it might help you spot any issues more easily.