Creating and Running a Workflow Instance
This sample shows how to run a workflow instance. It shows how to execute it synchronously and asynchronously.
The second part of the sample uses the WorkflowApplication class. WorkflowApplication enables you to have more control over each instance, including the ability to interact with the running workflow and to run the workflow asynchronously.
The samples may already be installed on your machine. Check for the following (default) directory before continuing.
If this directory does not exist, go to Windows Communication Foundation (WCF) and Windows Workflow Foundation (WF) Samples for .NET Framework 4 to download all Windows Communication Foundation (WCF) and WF samples. This sample is located in the following directory.