Loading
Prepare for Email to Become the Default Login ExperienceRead More
Automate Your Business Processes with Salesforce Flow
Customize the Error Message for Running Flow Users (Best Practice)

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.

Required Editions

View supported editions.
User Permissions Needed
To open, edit, create, activate or deactivate a flow using all flow types, elements, and features available in Flow Builder, including Einstein and Agentforce for Flow: Manage Flow
Note
Note You don't need to be an admin to have the Manage Flow permission. Ask your admin to add it to your profile or permission set.
  1. Create a text template that contains a friendlier error message.
    <p><b>Something went wrong with this flow.</b></p>
    <p>Your admin has received an email about this error.</p>
  2. Add a Screen element. In a Display Text screen component, reference the text template.
  3. For every element that can fail, draw a fault connector to the Screen element.
 
Loading
Salesforce Help | Article