Success Arrow

Description

The Success arrow is color coded green. It stems from a parent object (e.g., Conditions, Sub-Workflows, Tasks, Processes) in a workflow and will continue to the next downstream object upon successful execution of the parent. See Flow Control Arrows for more details.

Example 1

In the example workflow below, a Success arrow runs Task 1 when the Schedule Event (named "Run @ 12:00") triggers execution at the assigned time period. Upon completion of Task1, execution of Task 2 commences. If any task fails, by default, the workflow will also be marked as failed and execution will come to a halt at the object that failed.

Example 2

Flow control arrows allow conditional branching to take place by determining a workflow’s progress depending on specific events or conditions that transpire. The sample workflow below illustrates exception handling by way of conditional branching at its simplest form. A workflow executes along the path of any arrow containing the value equaling that of the previous object. Therefore, if Task1 completes successfully, execution follows the path containing the Success (green) arrow and runs Task 2 on Agent 2. If Task1 fails, execution follows the path containing the Failure (red) arrow and runs Task 3 on Agent 3 instead.

Example 3

Another scenario would be to execute two or more tasks simultaneously. As shown in the example below, when the Schedule Event triggers execution, Task 1 assigned to Agent 1 and Task 2 assigned to Agent 2 starts simultaneously.

Example 3

Along with a Result Arrow, an Evaluation object can also be followed by a Success arrow. This is because Evaluation objects treat a True result as a Success and a False result as a Failure. As shown in the example below, the Evaluation object evaluates 5=5, which is, of course True. Therefore, the workflow follows the path of the Success arrow which runs Task 1 on Agent 1.

Additional Notes

There are some basic practices to follow when using arrows to link from one object to another:

See Also


Flow Control Arrows | Failure Arrow | Result Arrow | Evaluation Object | Wait Object | Workflow Logic