Salesforce Decode
Salesforcedecode
Flow & AutomationAdvancedTroubleshootingflowtroubleshootingrecursion

How do you prevent recursion and infinite loops in flows?

Scenario

An after-save flow on Account updates Contacts, a Contact flow updates the Account, and saves now take 8 seconds.

Answer it out loud first

Serious prep means attempting before reading. Take two minutes to structure your answer, then compare.