How to define state machine in Windows Workflow Foundation (WF)

15 ביולי 2008

Windows Workflow Foundation is a powerful framework to develop a workflow component in your application. This framework has two workflow types: Sequential workflow (pre-defined flow) and State Machine (event driven flow). In this post I’ll explain and show you how to define a workflow from the later kind. Each state machine consists of two major components: state (unique configuration) and Transitions (between the states, based on events or input). Each state machine should have initialize state and completion state. For example let see a state machine of bug(You can download the entire example from here): After we defined...
תגיות: ,
4 תגובות