You need to sign in to do that
Don't have an account?
ken_dev
Block Duplicate Leads - Import Leads
I have triggers in place that will prevent duplicate leads. In the trigger i use the
Lead.Email.addError() method to put the message that prevents the lead from being created. The problem is when i import a list of leads and there is one duplicate the entire import fails.
Is there an alternate way to prevent the duplicate but not cause the import to fail?
thanks
Hello ken_dev,
You can modify your lead duplication prevention triggers not to add an error but rather to save the lead with a designated owner (say 'Dups queue') and add a unique suffix to its email.
You will also have to define a process for handling leads in with this owner e.g. allert the owner that he needs to do merge these leads.
HTH
Ken_Dev, did you try replacing the lead.Email.addError with the owner as Dupes Queue and adding the suffix to the email?
Curious if it was a an easy enough fix.
Thanks.