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
tarun jain 110tarun jain 110 

Facing problem in duplicate rule

Hi,
Can we send Duplicate Rule with package or can we create duplicate rule through apex class. ? If yes provide the steps and code.

Thanks
NagendraNagendra (Salesforce Developers) 
Hi Tarun,

Please check with below link from apex developer guide which has an apex class for duplicates and all its required methods in detail which helps you to accelerate with the above requirement. For more information check here: Kindly mark this post as solved if the information help's so that it gets removed from the unanswered queue and becomes a proper solution which results in helping others who are really in need of it.

Best Regards,
Nagendra.P