Using the ConditionedActivityGroup (CAG) Activity

In a nutshell, the ConditionedActivityGroup activity, or CAG as it’s often called, is a composite activity that allows you to take a role in scheduling parallel child activities for execution. The CAG, as a whole, runs until a condition you specify becomes true or until all child activities report they have no more work if you do not apply this condition. The condition I refer to is known as the CAG’s until condition.

Child activities are executed in parallel, and they execute only when conditions for each individual child activity are met. This is known as the when condition for the child activity. If none of the child when conditions are met, no child activities execute and the CAG activity terminates ...

Get Microsoft® Windows® Workflow Foundation Step by Step 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.