O'Reilly logo

Building Applications with Windows Workflow Foundation (WF): Advanced Workflow Features by Michael Stiefel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Conditioned Activity Group

Before I discuss building a custom activity, there is one other out of the box activity that is worth looking at—the ConditionedActivityGroup (CAG). It demonstrates how rules and activities can be combined to produce a useful, reusable, activity that illustrates a common pattern in workflow development. Hopefully, this will help stimulate your thinking about the possibility of implementing workflow patterns as activities.

Suppose I am trying to rent a car, and I want to check several rental agencies. I have a price I do not want to exceed, and I want to only try a given number of times. This scenario is illustrated in the CAG example.

A ConditionedActivityGroup or CAG will repeatedly execute several activities until ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required