You need to sign in to do that
Don't have an account?

How can I update Lead when we throw the error from lead Trigger.
Hello,
I need to Prevent duplicate lead on Email address and need to update count on Lead.(i.e. a duplicate lead comes 4 time then only first should be inserted and first lead reacord there are a custome field Name Duplicate Count it should be 4.
Means We need to update Lead when we throw the error from lead Trigger.
Thanks in advance.
You may try catching the error/exception and do your update in the catch block.