Getting Started with Windows Workflow's StateMachine in 4.0

Last month Microsoft released the .Net Framework 4 Platform Update 1 - Runtime Update which focuses on WF4 updates, but first you will also need Visual Studio 2010, SP1  One of the features that WF developers have been asking for is the State Machine style of workflow. When Windows Workflow Foundation first shipped, it allowed developers to build sequential workflows and state machine workflows. When Windows Workflow 4.0 was released it introduced the flowchart style of workflow. Now the flowchart style of workflow allows the flexibility that was some what limited in WF3.x. Using a flowchart style workflow you can model and build state machine workflows, however because the state machine workflow style was offered in WF3.x, developers still want to utilize the rich features that building state machine workflows offer.

If you have worked with state machine workflows in the past you will notice a dramatic difference. Below is an example of a state machine workflow in WF3.x


and here you can see a much richer state machine workflow experience in WF4.0



I will add some additional posts on showing how to build state machine workflows in WF4.0.

Currently rated 2.3 by 32 people

  • Currently 2.28125/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: BayerWhite
Posted on: 5/19/2011 at 12:55 AM
Actions: E-mail | Kick it! | DZone it! |
Post Information: Permalink | Comments (0) | Post RSSRSS comment feed
Comments are closed