Skip to main content

A Flow calls an Invocable Apex method, and Apex updates the same record that triggered the Flow. 

Will the Flow run again?

  

 

#Flows

4 réponses
  1. 2 sept., 12:25

    No, the Flow itself won't automatically restart just because Apex updates the same record — Salesforce doesn't loop back into the currently running Flow from within its own transaction. 

    But watch out for this:

     

    If that Apex update happens to match the entry criteria of a

    Record-Triggered Flow (even the same one), Salesforce can fire a new Flow execution — because to the platform, it's just another DML update on the record, not "the same Flow running again." 

    One-line takeaway:

     

    Same Flow instance won't re-run recursively, but a fresh Flow trigger can fire on that DML — so it's still safer to add a guard condition (like checking if the specific field actually changed) if you want to avoid unintended re-entry. 

0/9000