Loading
Salesforce now sends email only from verified domains. Read More
Automate Your Business Processes
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Customize What Happens When a Flow Fails

          Customize What Happens When a Flow Fails

          If your flow contains an element that interacts with the Salesforce database—such as an Update Records element or a Submit for Approval core action—it can fail. Modify the default behavior by adding fault paths to all elements that can fail.

          Required Editions

          View supported editions.
          • Default Flow Error Handling
            Understand how flows behave when they fail to help you decide on error handling strategies. Learn what happens by default so you can determine if you need custom error handling for your specific use case.
          • Select Flow and Process Error Email Recipients
            When a process or flow interview fails, a detailed email is sent to the admin who last modified the process or flow. However, sometimes the admin isn’t the best person to act on the details of what was executed and what went wrong. In that case, you can send error emails to the Apex exception email recipients.
          • Configure Every Fault Path to Send You an Email
            As a best practice, we recommend configuring the fault connectors in your flow so that you always receive an email when a flow fails. In the email, include the current values of all your flow’s resources. The resource values can give you insight into why the flow failed.
          • Customize the Error Message for Running Flow Users (Best Practice)
            As a best practice, we recommend displaying a better message to your user than “An unhandled fault has occurred in this flow”. Display a new message only if the distribution method you’re using supports flows that contain screens. In other words, don’t do it if your flow is distributed through a process.
          • Other Examples of Error Handling in Flows
            Examples of using fault connectors to handle flow errors include requesting corrections from the user and bypassing the error.
           
          Loading
          Salesforce Help | Article