Hello!
So I am excited to share a way to merge your existing duplicate leads of database using Batch class
Here are baby steps:
Steps 1: Write a Batch Class as shown below in Git Repo
Step 2: Open Anonymous Window in Developer Console and run below command
LeadMergeBatch a = new LeadMergeBatch();
Database.executeBatch(a);
Step 3: Click Execute
Now you can see lead having total 3 duplicates are merged automatically by running this batch class in your Salesforce Org
Hope you find this helpful
Thank you for being an awesome reader! Subscribe this blog for receiving all the latest updates
No comments:
Post a Comment