6.8. Flowchart

Flowchart is a new type of workflow that makes it easier to model certain types of problems, particularly those that return back to previous activities. Prior to WF4, this could be achieved by using a while loop, but flowchart workflows offer a more intuitive approach. We will create a flowchart workflow to simulate a customer's age being checked.

  1. Open Visual Studio and create a new workflow console application called Chapter6.Flowchart.

  2. Drag a Flowchart activity from the Flowchart group onto the designer surface. You should see something similar to Figure 6-13.

    Figure 6.13. New flowchart workflow
  3. The design view for flowcharts ...

Get Introducing .NET 4.0: with Visual Studio 2010 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.