O'Reilly logo

Microsoft® Windows® Workflow Foundation Step by Step by Kenn Scribner

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

Starting a Workflow Instance

Before we can start a workflow instance, we must have a workflow task for WF to execute. In the first chapter, we asked Visual Studio to create a workflow-based project for us that automatically included a raw workflow task we modified to validate U.S. and Canadian postal codes. We could, if we wanted, go back to that project and physically copy the workflow source code, or we could reference the resulting assembly PCodeFlow.exe and try to use the workflow we created directly. And, in practice, you might do that.

In this case, however, we’re attempting to learn to write workflow applications. What fun is swiping existing workflow code when we can build new? Let’s simulate a long-running task by using a sequential workflow ...

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