Flow fault paths and error emails
Key Takeaway
A fault path handles every error on its element. An error there doesn't make the flow interview fail, so Salesforce creates no failed interview for it.
By default, when a flow element that works with the Salesforce database fails, the flow stops. The running user sees a vague error, and Salesforce emails the failure details to an admin. A fault path is a second connector on an element that runs only when that element fails. With a fault path, you decide what happens next instead of accepting the default. Error emails help you find a failure, and fault paths let you handle it.
Why flow elements fail
Flow elements that interact with the Salesforce database can fail. Examples are an Update Records element and a Submit for Approval core action.
Common causes include:
- Creating a record without a required field
- Editing a record or field that the running user can't access
- Using an ID with the wrong number of characters
- Sending to an invalid email address
- Doing something that a validation rule blocks