Groups

Groups are used to specify related sets of activities. The main uses of groups are the following:

  • To create a set of activities that have a common error transition. Basically, this is similar to a try...catch block in Java. This allows you to have a set of activities with only one error-handling transition, instead of trying to individually catch errors on each activity.

  • To create sets of activities that are to be repeated. You can repeat the activities once for each item in a list, until a condition is true, or if an error occurs.

  • To create sets of activities that participate in a transaction. Activities in the group that can take part in a transaction are processed together, or rolled back, depending upon whether the transaction commits or rolls back.

Grouping Activities describes groups and how to use them in a process definition.