Skip to content
Back to articles

Flow · Practical guide

Flow fault paths: give users a useful next step

Turn a failed record update into a clear message and an actionable investigation.

A screen flow that saves a support request can fail when a validation rule rejects the record or the running user lacks access. Design the failure experience alongside the successful save.

Build the failure branch

  1. In a sandbox, identify database operations and actions that expose a fault connector.
  2. Connect the failed save to a screen explaining that the request could not be saved. Tell the user what to check and how to contact support.
  3. Capture the flow name, failing step, record context, and fault message for the people who investigate errors. Avoid displaying technical details or sensitive values to end users.
  4. Check the org’s flow error email recipients. A monitored support destination is more useful than an unattended personal inbox.

Test both outcomes

Submit a valid request, then trigger a validation failure intentionally. Repeat as the intended user rather than only as an administrator. Confirm the message is useful and the support team receives enough information to investigate.

A handled fault does not automatically mean the whole operation was rolled back. Review transaction behavior and any earlier writes before promising that nothing changed. A background flow cannot display a screen; choose a notification or investigation path suited to its flow type.

Official reference

Customize What Happens When a Flow Fails

Browse all articles