Skip to content

Groups ​

Groups enforce conditions across multiple tasks. Four types of group are available:

  • Timeout groups fail when the contained tasks hold the token longer than a set amount of time.
  • Retry/Catch groups will retry from their first task should the contained set of tasks fail.
  • Load Balance groups schedule the contained tasks across a pool of assets.
  • Substitute User groups execute their contained tasks with specified security credentials.

Group Success and Failure ​

All groups have the ability to succeed, fail, and influence the workflow just as tasks do.

Group success

If the conditions of Group_1 are met and the tasks it contains all succeed, it is successful and Task_4 is executed.

Group failure

In this example, Task_3 fails which causes Group_1 to fail.

Group condition failure

If the conditions of Group_1 are not met, Group_1 fails and any executing task inside the group is canceled. Since Group_1 has no outgoing edge which is satisfied on failure, the sequence as a whole also fails.

Recovery Edges ​

Groups, like tasks may have an edge that is satisfied when the group fails.

Recovery edges

In the example above, Task_3 has timed out Group_1. The group condition has failed and task execution has been canceled. The "on failure" edge connecting Group_1 and Task_5 becomes satisfied, facilitating recovery. Task_5 is executed and because it succeeds, the sequence succeeds.

Workload Automation and Orchestration