Building Human Workflows with Windows Workflow Foundation State Machines
I am fortunate to be a speaker at TechEd New Zealand and TechEd Australia this week. One of the sessions I am presenting on is "Building Human Workflows with Windows Workflow Foundation State Machines". Admittedly, I am standing on the shoulders of giants as I borrowed the code and slides from Keith Pijanowski.
Those that have seen me speak on WF in the past know that I gush over the great work that Keith has done in this area, including his MSDN article, "Building State Machines with Windows Workflow Foundation". This article and the code are fantastic resources for understanding the ExternalDataExchange mechanism in WF. His updated code (available here) includes a nice example of how to use tracking to reach into the workflow and find information such as what the available state transitions are and what the history of the current state workflow is.
A common question is, "how do you determine if you should use a sequential or state machine workflow?" You will find various answers, but the largest reason that I recognize is the ability to move the pointer back to some earlier point in the workflow. With a sequential workflow, you can't tell the workflow runtime to move back to the beginning of the workflow and start over... with state machines, this is possible. State machines lend themselves for workflows that include human interaction where sequential workflows lend themselves to workflows that define processes more rigidly (such as system to system workflows).
To download the slides and deck, visit Keith's blog.
Comments
Anonymous
August 31, 2008
PingBack from http://housesfunnywallpaper.cn/?p=3354Anonymous
August 31, 2008
Nice presentation today, thanks for sharing the slides and link to Keith's blog. Great to know you also come from a BizTalk background.Anonymous
August 31, 2008
Thanks for coming! And thanks for speaking afterwards, always nice to hear if WF resonates with the BizTalk crowd (and shows a way to get around Human Workflow Services in BizTalk :))Anonymous
September 02, 2008
Great presentation! This is actually my first introduction to WF, and it got right to the point of why WF is so useful. Only complaint is that the conference room was a bit cold :)