I have a question regarding what potential impact it causes when updating a workflow definition.
Say, I have a workflow with version V0, and there is 1 running instance R0. Now I add an activity so the workflow version becomes V1 and then I restart the workflow service (where the workflow gets defined and running).
- will R0 be executed based on workflow version V0 or V1?
- for new triggered workflow instance, will it be executed based on V0 or V1?
- is there any issue for doing this: updating workflow definition and just restart the service
Looks like it is logically incorrect if R0 will be executed based on V1. So a generic question: is there a solution for workflow live update and version management, so that the workflow running instances for different versions can be isolated? If not, what would I do if I want to update the workflow definition when we still have some ongoing workflow instances.