Skip to main content

Suppose we have a Record-Triggered Flow on Opportunity that runs When a record is updated.

The Flow has:

  • A Decision element checking whether StageName = "Closed Won"
  • An Update Records element that updates the same Opportunity
  • The Flow is configured to run Every time a record is updated
  • The Update Records element changes a field on the same Opportunity

 

 

#Salesforce Admin  #Flow

5 respuestas
  1. 1 sept, 06:19

    Yes, the Flow can be triggered again when it updates the same Opportunity. Salesforce does not automatically prevent recursion in every case. 

    To avoid unnecessary re-execution: 

    •  Use “Only when a record is updated to meet the condition requirements” when possible. 
    •  Add a Decision checking whether the target field actually needs to change. 
    •  Use a Boolean/flag field such as Processed__c to prevent repeat processing. 
    •  Prefer Before-Save Flow for same-record field updates when no related records/actions are required. 

     

    Best practice:

    Design the Flow so the update makes the record fail the trigger/decision condition on the next execution, preventing an unnecessary loop. 

     

0/9000