Process Instance Modification or Process Instance Migration?

I have deployed a bpmn file(version 1) with few activities, and now i deployed same bpmn file(version 2) with some changes like added External properties to the each activity type.

I want to use external properties in each activity type of version 1 process instances.

So should I have to modify the process instances of version 1?

(or)

migrate the version 1 process instances to the version 2 process instances?

Can we modify the deployed process definitions? So will be modifying the deployed process definition(bpmn xml) should apply the changes to the running process instances in that process definitions?

Hi @aravindhrs,

migration is the way to go.

Hope this helps, Ingo

@Ingo_Richtsmeier thanks.i did the same thing. Can you give me a some usecase when should I consider for process instance modification?

Hi @aravindhrs,

a use case for modfication is, when you have to execute a service task in a process instance for a second time because of some error happened during further process execution.

Or if a user asked you to repeat his user task for a second time, because he accidentially took the wrong decision. I usually explain it on this process: https://github.com/camunda/camunda-bpm-platform/blob/master/examples/invoice/src/main/resources/invoice.v2.bpmn: If the approver made a mistake by approving the invoice, he can change his decision after moving the token back from “Prepare bank transfer” to “Approve invoice”.

Hope this helps, Ingo