[Error] Cannot create user task after migration new version of workflow

Hi, I got some problem with migration process instance from old workflow to the new one

As you can see, I have one parallel gateway with some user tasks, with old version, I have three user tasks
and the new one I have we have six user tasks. The problem is when I migrate from one to another, we expect have all user task for all current process instances, but we only got three, three new user task is not being created, this make my business go wrong with old process instance.
How can I create new user task for all old process instances ???

Hey @Anh_Le ,

As your old process model already executed the parallel gateway the instances are at the 3 user tasks and therefore just mapped to the three user tasks in the new model.

With the process instance Migration you could use the process instance modification. You could modify the instances to start before the parallel gateway that way you would make sure that you also trigger the new sequence flows with the new attached user tasks.

I hope that helps
Cheers
Nele

1 Like