The focus of this chapter is a core set of procedural flow control activities that are included with Windows Workflow Foundation (WF). These are some of the most frequently used activities that implement branching and looping. The If and Switch<T> activities are first discussed, followed by examples that demonstrate the While and DoWhile activities. The Parallel activity is then discussed, followed by several examples that demonstrate its use.

Understanding the Procedural Modeling Style

WF includes support for two different workflow modeling styles out of the box: procedural and flowchart. The modeling style determines how the flow of control ...

Get Pro WF: Windows Workflow in .NET 4 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.