Can someone clarify the following statement from the Order of Execution online documentation.

The refiring of triggers isn't limited to updates, but applies to all operation types. A workflow field update that fires on record insert will rerun any before and after insert triggers again—as insert triggers.

Does it really mean that insert trigger fires 2nd time ever or it is just a documentation bug?

Link to the documentation v44.0 https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_order_of_execution.htm

UPDATE: In addition to Workflow field update, update triggers are executed for assignment rules as well, but why it is not mentioned in the documentation clearly that update triggers will run once more due to assignment rules.

1 Answer 1


After finding a bug in my original code/answer, I have confirmed that the documentation is wrong. The workflow field update will trigger update triggers instead of insert triggers. This probably needs to reported to the documentation team.

  • Hi @Sfdcfox, thank you for the update. I updated my original question for assignment rules as well. Just wondering why that was not mentioned in the documentation. Based on this discussion it seems that platform treat them as workflow internally, is it correct?
    – LakhanP
    Nov 26, 2018 at 13:50
  • @LakhanP Yes, it shows up as a workflow field update and will trigger update triggers as well.
    – sfdcfox
    Nov 26, 2018 at 16:39
  • that doc bug showed up in V43.0; the yellow highlighted area was not present in V42.0 doc
    – cropredy
    Nov 26, 2018 at 21:38
  • @cropredy Sounds about right. I have reported this to the docs team.
    – sfdcfox
    Nov 26, 2018 at 21:43
  • 1
    @sfdcfox I had raised a case with SFDC, they have created a defect (#W-5650660) for this and expectation to close this is within one or two weeks.
    – LakhanP
    Jul 6, 2020 at 12:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .