Loading
Prepare for Email to Become the Default Login ExperienceRead More
Intermittent freezing when using using certain browser versionsRead More
Automate Your Business Processes with Salesforce Flow
Emails About Flow Approval Process Errors

Emails About Flow Approval Process Errors

When an approval submission's orchestration run fails, Salesforce sends an error email. The email is sent to either the admin who last modified the associated flow approval process or the Apex exception email recipients.

Required Editions

View supported editions for Flow Approval Processes.

The email includes the error message with details about the:

  • Flow Approval Process
  • Executed flow approval process elements
  • Flows called from flow approval process steps

For an activated flow approval process, the error email also contains a link to show the failed orchestration run details in Flow Builder.

If an approval submission's orchestration run fails because of a flow it calls, then the recipients receive an error email for the flow approval process failure and an error email for the flow failure.

Example
Example
Error element level_1 (FlowOrchestratedStage).
Invalid User reference

Flow Details

Flow API Name: Simple_Approval_2
Type: Approvals with Flow Orchestration
Version: 2
Status: Active
Org: Acme Hardware (00DWs000001kID7)

Flow Interview Details

Interview Label: Simple Approval 1/28/2025, 3:19 PM
Interview GUID: 1015777406f0500b9c734cf2043a194abf287f2-41f0
Current User: Admin User (005Ws000000qE6v)
Start time: 1/28/2025, 3:19 PM
Duration: 0 seconds

How the Interview Started
Orchestration Run ID: 0jEWs000000Cp0L
Admin User (005Ws000000qE6v) started the flow interview.
API Version for Running the Flow: 63
Some of this flow's variables were set when the interview started.
recordId = 02iWs000005LFpD
submitter = 005Ws000000qE6v
ENTER STAGE: level 1
ID: 0jFWs000000DFu5
Status: Error

APPROVAL STEP: manager approval
ID: 0jLWs000000FBnx
Status: Error
Entry Condition:
When the stage starts, the step starts
Condition evaluates to true
Assignment Type: User
Assigned To: {!test} (test)
Action:
standard_approvals__EvaluateApproval
Inputs:
ActionInput__RecordId = {!recordId} (02iWs000005LFpD)
ActionInput__CustomEmailSubject = null
ActionInput__CustomEmailBody = null
Outputs:
None.
Exit Condition:
When the assigned user has completed the action, the step is marked Completed
Condition evaluates to false
Screen Flow: standard_approvals__EvaluateApproval

Error Occurred: Invalid User reference

Salesforce Error ID: 923962389-687110 (-1301330857)
 
Loading
Salesforce Help | Article