Setting a branch condition
- Select Enterprise Orchestrator > Symphonies.
- Select the symphony you want to edit.
- Click the switch construct on the symphony canvas.
- Select the required branch, for example, Branch 1.
- Click the General tab and specify this information:
- Variable 1 Type
-
Specify the source of the first operand used in the condition. Supported options include:
- symphony variable
- activity output variable
- Variable 1
- Specify the value of the first variable, based on the chosen variable type.
- Operator
- Defines how variable 1 is evaluated against variable 2. Common operators include: equals not equals, more than, less than, more or equal, and less or equal.
- Variable 2 Type
-
Specify the source of the second operand.
Note: Ensure both variables are of the same data type.
- Variable 2
- Specify the value of the second variable.
- Save the branch details.
Note: This is useful information:
- Each conditional branch must have a valid condition defined. The Default branch does not require a condition and is executed when no other branch conditions evaluate to true.
- Symphony must have at least one symphony variable or an activity with output variables added in the flow prior to switch, in order to proceed with defining the switch branch condition.
- Cross‑branch output variable references are not allowed.
- Output variables from activities inside a Switch construct cannot be referenced outside the Switch.