cancel
Showing results for 
Search instead for 
Did you mean: 

how to deal with old process instance when the process updated

mm524262909
Champ in-the-making
Champ in-the-making
the process defination will change and when changed, how to deal with the old process instance
this is to say , how the old process instance will carry on next ?
11 REPLIES 11

viggo_navarsete
Champ in-the-making
Champ in-the-making
Do you have a real world scenario to use as an example mm524262909?

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi mm524262909

but when the new process and the old one has conflict , what will the engine do ?

Your example and use case is valid - I faced this problem many times. (the simplest one is - small bug in process definition (100 process instances are running according to this process definition…  you have fix already but you do not have possibility to change it - this is solved by SetProcessDefinitionVersionCmd).
SetProcessDefinitionVersionCmd sets only process definition version of the running process instance. It does not cope with process instance state transition to the new process definition. Process instance state transition can not be done automatically in general, but you can use activiti commands/DB to transform process instance to the new state.

Links
Search the forum - I like this topic very much because it is crucial for workflow platform administration.

Regards
Martin