Loading
Salesforce now sends email only from verified domains. Read More
Automate Your Business Processes
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Evaluation Flows in Orchestrations

          Evaluation Flows in Orchestrations

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

          Required Editions

          View supported editions for Flow Orchestration.

          Variables in Evaluation Flows

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

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

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

          Evaluation Flow Execution

          Every time an asynchronous background step, an interactive step, or a MuleSoft step within the current stage is completed, the orchestration 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

          The status of each stage or step determines which conditions the orchestration checks. If the condition being checked relies on an evaluation flow, the evaluation flow runs.

          • When a stage is in progress, the orchestration determines whether it can be completed.
          • For each not started step within the current stage, the orchestration determines whether the step is ready to start.
          • For each in progress interactive step within the current stage, the orchestration determines whether the step can be marked as completed.

          Running Context of an Evaluation Flow

          In API version 60.0 and later, evaluation flows can be run only in system context without sharing and have access to all data.

          In API version 58.0 and 59.0, evaluation flows always run in system context.

          In API version 57.0 and earlier, evaluation flows run as specified in the flow’s How to Run the Flow advanced option.

           
          Loading
          Salesforce Help | Article