In the Outputs section, you can add conditions to determine the workflow. Orchestration selects an output based on the evaluated conditions. If there are no matching conditions or there is an error, Orchestration uses the default output. You cannot edit or delete the default output.
When creating a new output, click Add Output and complete the following fields:
Field |
Description |
Output Label |
The unique output name that you can see in the list of task outputs. You can connect this output with the next task in the workflow. |
Choose output condition |
Output conditions based on logic values. Click Add Logic and in the Add Conditional Logic field, type the conditional expression that triggers the output. To use a variable in your expression, click the field and select the required variable from the list. For example, cache.startEvent.queue.queueId=='12345', where cache.startEvent.queue.queueId is the ID of the customer queue. |
For example, if you added a testVar variable as a cache variable, you can configure the following condition to use a particular output if the HTTP status code is 200 OK: cache.testVar == 200.
To change the order of outputs, click
and drag the output to the required position. Orchestration checks configured conditions in a descending order. When one of the conditions is met, Orchestration does not check the subsequent conditions. Order the conditions considering their priority.
The default output is always placed at the bottom of the Outputs section.