As every WF follower, I also made
the upgrade from beta 1 to beta 2.
I needed a state machine workflow using a persistence store, but I realized
that beta 2 doesnâ€™t exactly “extends” beta 1 when I started
seeing some building errors like this one here regarding the persistence store:
Message=”Procedure or function InsertWorkflow has too many
So I turned to some forum help and got the SQL scripts I had to run in order
to create beta 2 SQL persistence store, which by the way, once you have
installed the beta 2, you can find here: C:WINDOWSWinFXv3.0Windows Workflow
FoundationSQLEN (remember to run first schema, then logic script for each
If you think that your beta 1 code
will build ok on your beta 2 you may be probable wrong if you donâ€™t take in
count the changes. Because many of them are more than just an upgrade and make
beta 1 code simply doesnâ€™t work! (Take a look at the advice section).
Another big addition to beta 1 may
be the StateMachineWorkflowInstance class, which you can use to query state
machine workflow instances about their current state, which states they can
transition to, get all the workflow states, etc. Itâ€™s very useful if you want
to get control of many state machines currently running just like in an
ordering system case.
The most useful conclusion I find for readers may be a short but powerful
- Take a look at Paul
Andrewâ€™s guide of changes from beta 1 to beta 2 and read carefully the
aspects of your project that may change.
- Get the
- Visit the Win FX
- And last but absolutely not the least: keep an
eye on the WF
Forums; theyâ€™ll save you a lot of time!!!