Tutorial: Create a State Machine Workflow
This page is specific to:.NET Framework Version:3.03.5
Tutorial: Create a State Machine Workflow

State machine workflows in Windows Workflow Foundation (WF) are designed to work in event-driven scenarios. A state machine workflow contains two or more states, with one state being the active state at any given time.

In this tutorial, you create a state machine-based workflow that handles orders from the host application and processes the orders through different states in the workflow. The initial state is the WaitingForOrder state, which executes when the host application submits a new order. Upon receipt of the new order, the OrderProcessing state executes to process the order. The final state is the OrderCompleted state.

In This Section

Exercise 1: Create the Simple Order Form Project
Shows how to create the Simple Order Form project.

Exercise 2: Create the Simple Order Form Application
Shows how to create a Simple Order Form application.

Completed State Machine Workflow Tutorial
Discusses the completed State Machine workflow.

See Also



Copyright © 2007 by Microsoft Corporation. All rights reserved.
© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View