---
schema_version: "1"
id: 1ab32378340dfb1cc71a7c46164214701e6af1e0cbe2f0390517ff8df7730c49
title: Evaluation Flows for Flow Approval Processes
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/automate_automated_approvals_concepts_flows_evaluation_flows.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.automate_automated_approvals_concepts_flows_evaluation_flows.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 666ea9dbbc2bc0c43655e4f43275b9d56a530bd8c64dd7eeaee12b5aaa47d67b
description: When you need more than 10 requirements to control stage and step execution, use an evaluation flow. Select the Evaluation Flow tile in the New Automation window to create an evaluation flow.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Evaluation Flows for Flow Approval Processes

When you need more than 10 requirements to control stage and step execution, use an evaluation flow. Select the Evaluation Flow tile in the New Automation window to create an evaluation flow.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col style="width:100%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=platform.automate_automated_approvals_about_supported_editions.htm&amp;release=264.0.0&amp;type=5" title="Review the supported products and editions for Flow Approval Processes.">View supported editions for Flow Approval Processes.</a></td></tr></tbody></table>

## Variables in Evaluation Flows

When you select the Evaluation Flow tile in the New Automation window, you create an evaluation flow that contains a predefined Boolean output variable named isOrchestrationConditionMet.

Initialize isOrchestrationConditionMet to `false`. To indicate that the custom conditions are met, set isOrchestrationConditionMet to `true`.

Evaluation flows return a value only for isOrchestrationConditionMet. Values for any other output variables are discarded.

## Evaluation Flow Execution

Every time an approval step or an asynchronous background step within the current stage is completed, the orchestration run associated with a parent approval submission evaluates the conditions for that stage and its steps. To trigger an evaluation of conditions for the current stage and its steps, publish an orchestration event with `$Orchestration.Instance` of the orchestration run associated with the approval submission.

The status of each stage or step determines which conditions are checked by the orchestration run associated with a parent approval submission. If the condition being checked relies on an evaluation flow, the evaluation flow runs.

- When a stage is in progress, the orchestration run associated with the parent approval submission determines whether the stage can be completed.
- For each step not started within the current stage, the orchestration run associated with the parent approval submission determines whether the step is ready to start.
- For each in-progress approval step within the current stage, the orchestration run associated with a parent approval submission determines whether the step can be completed.

## Running Context of an Evaluation Flow

Evaluation flows can be run only in system context without sharing and have access to all data