I am running spring boot application where BPM will be inside and multiple instance of the the application is running different node and same DB is shared across them . So as a result I can see single process definition which is deployed .
Now If i update BPM in once instance , I can see the change in the BPM is getting reflected in other instances as well . That means if I have 3 instance of the same application running and I change the same process model in one of the instance and redeploy , then all 3 instances request are getting executed with latest process model . How can I instruct other instances to execute with the old version unless I redeploy or asked to use the updated version ? I am using camunda 7.10.
Please see: Process Versioning | docs.camunda.org
If you redeploy a changed process definition, you get a new version in the database. Running process instances will continue to run in the version they were started in. New process instances will run in the new version - unless specified explicitly. Support for migrating process instances to new a version is supported within certain limits.
When you start a process instance
- By key : It starts an instance of the latest deployed version of the process definition with the key.
- By id : It starts an instance of the deployed process definition with the database id. By using this you can start a specific version .