This documentation is archived and is not being maintained.

Tutorial: Create a State Machine Workflow 

State machine workflows 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

See Also

Footer image
Send comments about this topic to Microsoft.
Show: