Chapter 14. Using a ConditionedActivityGroup

Workflow provides an interesting activity called the ConditionedActivityGroup, often referred to as CAG. It contains a group of activities (or activity sequences) that are executed based on the defined conditions. There are three important rules to understand when using a CAG:

  • There is an UntilCondition for the group. The child activities are executed, simultaneously, as long as the UntilCondition is false. If there is no UntilCondition, the CAG will execute until no children are executing.

  • There is a WhenCondition for each child activity (or activity sequence). The child activity is executed repeatedly as long as its WhenCondition is true. If there is no WhenCondition, the activity is executed once. ...

Get Office 2010 Workflow: Developing Collaborative Solutions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.