Is it possible to start the process instance for the previous version of the deployments?
As far as I can see, Camunda always starts the process instance for the latest deployment.
I am just curious if we can have multiple versions of the same process and run it parallelly.
Thanks.
Yes, that’s perfectly possible. The default behaviour is to start latest version of the process definition for new instances. But the APIs allow to specify the process definition id to start. In order to find that, you can first look it up using query criteria, like a version tag or the deployment date.
Any running process instances will remain in the definition version they were started in, even when new versions of the definition are deployed. So yes, they will run in parallel. Note that it’s up to you to ensure they can actually work next to one another. If you don’t want them to remain in their original version, you need to migrate the instances to the new version.