Workflow versioning of long running processes


I am using statemachine WF.

There are several instances are running into production of initial

version, I did some changes into later version of workflow (added few

states, modified process little bit)

But it does not load existing (running WF, those were created by

earlier part of WF, persisted into DB). I can understand, since runtime

requires same template to load the WF, it will not allow ato

serialize/dserialize a WF with different structure (template).

I came to know by following post, that there are only 2 ways to migrate

existing workflow instances to new WF template, and both are really



I wanted to know following

1. Is there any tool available in the market that allow to migrate

existing WF instances to new/modified WF template ?

2. Is there any standard process or sample code that, demonstrates how

to migrate ?

3. Will no one be able to use WF, where there is any possibiliy of

Business process to be changed ?

Every process oriented company do have different regions (Prod, QA...

etc) in their company. version running into Prod may be different from

QA. and some time QA replaces PROD (production move). All WF in the

world will fail in this scenario.

Rahul Jain
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chuck BrouseCommented:
I have this exact same issue...  when you end up with a large number is persisted workflows and are trying to upgrade them to a new workflow version the process is very tedious and can't be dealt with quickly.  I have been searching for tools that would aid in this process, but the market seems to be empty as far as WF development tools.  Anyone have a different experience?  I'm about to recommend to a customer that they not use WF because of this...  seems a shame.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.