If i wrote one trigger (after insert) on ACCOUNT, and at the same time i also created one workflow rule for ACCOUNT.

So, my question is which will execute first ? (Trigger or Workflow)

And How should i know that trigger execute first or workflow rule fire ?

Thanks in Advance.


Triggers (both before and after) fire before workflow rules. Workflow rules could cause the after triggers to fire again.

Use this document as a reference to know the full order of execution.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.