cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrading deployed workflow tasks to the new version

epaquette75
Champ in-the-making
Champ in-the-making
Is there a way to upgrade deployed workflow tasks to the new version of the workflow. I don't want to use multiple versions of the same workflow.

For example, if the deployed workflow pattern goes like:

A -> B -> C

I would like to upgrade the deployed tasks so that it goes:

A -> C -> D

where B tasks would go to A or C using to new version of the workflow.

Thanks in advance
2 REPLIES 2

davidc
Star Contributor
Star Contributor
Not automatically.  It requires a manual migration of the workflow instance data to suit your new workflow definition which is probably quite dangerous.

Do you really need to change the definition of an in-flight process??

epaquette75
Champ in-the-making
Champ in-the-making
We have documents that may be in the workflow for many months. Sometimes policies change on how they are to be processed. If the policies grandfather the existing documents, then leaving them in the older workflow version is fine. However, the policies may very well dictate that they be moved to the new flow and continue through it. We need to be prepared for that situation so that we can support it.

Could you give me a bit more detail about what the manual migration would entail? Is that something that we would have to write <Java> code to do? Can you easily search the repository for all documents connected to a given workflow instance?