Cert++
Close

Flow approval process troubleshooting

Key Takeaway

A failed flow approval process run can't be resumed. Find the cause in the error email, reproduce it with the Flow Builder debugger, and prevent the next failure with fault paths on stages.

A flow approval process is built in Flow Builder from stages, steps, and decisions. When a run fails, the approval submission ends in Error and the run can't be resumed. Admins troubleshoot with three tools. The error email shows what failed. The Flow Builder debugger reproduces and isolates the problem. Fault paths on stages stop submissions from failing.

What happens when a submission fails

When an orchestration run hits an error that nothing handles, the run fails. Both the run and its parent approval submission get the status Error. Salesforce also sends an error email.

Unlike other orchestration runs, a failed orchestration run for a flow approval process can't be resumed. So the fix is to handle errors before they cause a failure, by configuring fault paths on stages.

The statuses inside a failed run show where the error happened:

StatusWhen it appears
Stage runErrorThe stage or one of its steps caused the failure.
Stage runDiscontinuedThe error happened at the orchestration run level.
Step runErrorThe step caused the failure.
Step runDiscontinuedThe step was in progress.
Step runNot StartedThe step hadn't started.
Approval work itemApproved or RejectedThe work item was completed before the error and keeps its status.
Approval work itemAssignedThe work item was assigned but not completed.

A failed approval submission doesn't necessarily roll back record additions, changes, or deletions made before the orchestration run failed. Salesforce recommends designing and debugging flow approval processes in a sandbox before deploying them to production.

Platform Administrator II Study Guide

Checklist progress

0/290Learned

Given a scenario, identify the appropriate tool or method for troubleshooting declarative automation

0/13

Prepare for the Exam

Play Today's Certle

Study Community

Ask questions and get the latest info from other Platform Administrator II studiers.