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.
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
Error element level_1 (FlowOrchestratedStage).
Invalid User reference
Flow DetailsFlow API Name: Simple_Approval_2
Type: Approvals with Flow Orchestration
Version: 2
Status: Active
Org: Acme Hardware (00DWs000001kID7)
Flow Interview DetailsInterview 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 StartedOrchestration 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)
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.