Loading
Prepare for Email to Become the Default Login ExperienceRead More
Automate Your Business Processes with Salesforce Flow
Approval Submissions and Orchestration Runs

Approval Submissions and Orchestration Runs

Salesforce creates an approval submission when a record is submitted for approval by using a flow approval process. Each approval submission has an associated orchestration run.

Required Editions

View supported editions for Flow Approval Processes.

A flow approval process is an application that defines the actions to take when a record is submitted for approval. See Flow Approval Processes.

Approval Submission

An approval submission record is created each time a person submits a record for approval using Flow Approval Processes. The actions taken for the approval submission are defined by the associated flow approval process. Each approval submission record has an associated orchestration run record.

Approval Submission Statuses
Status Description
In Progress The approval submission started.
Approved The approval submission was approved.
Rejected The approval submission was rejected.
Canceled The approval submission was manually canceled.
Recalled The approval submission was manually recalled.
Error The orchestration run associated with the parent approval submission failed.

To delete an approval submission record, see Delete Approval Submission Records.

Approval Submission and Approval Work Item Comments

Users can add comments at different points during an approval process. Where Salesforce stores a comment depends on when someone makes it.

Someone Makes a Comment When They It’s Stored in the Comments field of
Submit an approval request The approval submission record
Review an approval work item The approval work item record
Cancel or recall an approval request The approval submission detail record

Orchestration Run

An orchestration run is a run-time instance of an active flow approval process. It's associated with the approval submission that's created when a flow approval process is launched.

Orchestration Run Statuses
Status Description
In Progress The parent approval submission of the orchestration run started.
Completed The parent approval submission of the orchestration run was approved or rejected.
Canceled
  • The parent approval submission of the orchestration run was manually canceled.
  • The parent approval submission of the orchestration run was manually recalled.
Error
  • The orchestration run associated with the parent approval submission encountered an error.
  • A stage within the orchestration run associated with the parent approval submission encountered an error.
  • A step within the orchestration run associated with the parent approval submission encountered an error.
  • The screen flow or autolaunched flow referenced by a step within the orchestration run associated with the parent approval submission encountered an error.

Record Refresh

When a flow approval process references a record variable or a record collection variable, those variables are refreshed with their latest record values each time the orchestration run associated with a parent approval submission based on that flow approval process resumes. For approval submissions based on an autolaunched flow approval process, all referenced records are refreshed. For approval submissions based on a record-triggered flow approval process, all referenced records except $Record_Prior are refreshed.

 
Loading
Salesforce Help | Article