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

Execution order of Triggers.
Hi,
I have a scenario of execution of triggers order where one trigger need to be executed before the other one.
I have 4 "before insert" triggers on opportunity. On what basis the order of execution depends on?
Can I decide the order of execution?
Thanks
Raj
No, you can't pre-determine or force the order of the execution. I recommend moving the logic in an Apex class (or set of classes) and only have 1 trigger on Opportunity. From inside the trigger you can control the order the apex class methods are invoked.