+ Start a Discussion

lead converion validation and triggers order execution

Hello All,

I am working on a lead conversion and receiving the opportunity validation error because of the partner check box is unchecked.
But in the lead after update trigger we are assigning this value to be checked to pass the opportunity VR. So I am wondering does anybody knows the lead conversion order of triggers and validation rules execution including the lead,account,contact and opportunity objects.
If the validation rules will firebefore executing the all after triggers then why it's not working in other validations?

Thanks for all the help.
Vivian Charlie 1208Vivian Charlie 1208

Hi Rushie,


You can find the order of execution details at this Salesforce help page



Please review and let me know in case you have any doubts so that we can then decide how this affects your code.