Compartilhar via


Exercise 2: Create the Simple Order Form Application

In this exercise, you define an interface that is used to enable communication between the state machine workflow and the Simple Order Form application.

The OrderProcessingWorkflow state machine contains three states:

  • The WaitingForOrder state is the workflow's InitialStateName property value. It is entered when the host application raises a predefined event. In this project, the event signifies a new order submission.

  • The OrderProcessing state simulates the processing of an order by sending a status message back to the host application.

  • The OrderCompleted state is the final state.

In This Section

See Also

Reference

StateMachineWorkflowActivity
InitialStateName
CompletedStateName
CanModifyActivities

Concepts

State Machine Workflows

Other Resources

Tutorial: Create a State Machine Workflow
Ordering State Machine
Simple State Machine

Copyright © 2007 by Microsoft Corporation. All rights reserved.
Last Published: 2010-03-04