function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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.
romius romiusromius romius
i am also facing this error in Minesweeper (https://mines-weeper.io) game. Character movements are no longer smooth. help me 
jerry smith 39jerry smith 39
Encountering an error when deploying a duplicate role to a production environment can be a common issue when managing user access and permissions. To resolve this, follow these steps:
Identify the Duplicate Role:
Find out which role is causing the issue and the context in which it's being duplicated https://spendbillgatesmoney.net/spend-all-the-money-in-the-world-game/.
Review Existing Roles:
In your production environment, review the list of existing roles to confirm if the role you're trying to deploy already exists. Check for any role names, IDs, or attributes that are identical to the one you're deploying.