26.5. Building a Flowchart Workflow

In the first example, I had you drag a WriteLine activity directly on the workflow designer. While it is true that any activity seen in the Visual Studio 2010 Toolbox can be the first item placed on the designer, only a few of them are able to contain sub-activities (which is obviously very important!). When you are building a new workflow, the chances are very good that the first item you will place on your designer will be a Flowchart or Sequence activity.

Both of these built in activities have the ability to contain any number of internal child activities (including additional Flowchart or Sequence activities) to represent the entirety of your business process. To begin, let's create a brand new Workflow ...

Get Pro C# 2010 and the .NET 4 Platform, Fifth Edition 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.