Hello, I’m currently working with a Spring Boot application integrated with the Camunda BPM engine (version 7.19.0). I noticed that my application does not include the @EnableProcessApplication annotation in the Application class. My goal is to deploy the application on a remote server without incrementing the versions of BPMN models unless they have been modified. Ideally, only the BPMN models that have changes should have their versions incremented upon deployment.
To achieve this, I attempted to use the property camunda.bpm.application.deploy-changed-only = true in my application.properties file, hoping it would instruct the Camunda engine to only deploy models that have undergone changes. However, it appears that Spring does not recognize this configuration property, and my objective is not met.
Has anyone faced a similar issue or can provide guidance on how to configure the deployment process to update only those BPMN models that have actually changed? Any insights or suggestions would be greatly appreciated.
Hi @pertsh.galstyan
Do you extend SpringBootProcessApplication class somewhere in your code?
If you do then even if you don’t use @EnableProcessApplication annotation in the code it might interrupt the work of camunda.bpm.application.deploy-changed-only = true.
Hello @Alex_Voloshyn, I’ve made a change to the parameter from camunda.bpm.application.deploy-changed-only = true to camunda.bpm.generic-properties.properties.deployChangedOnly=true , and it’s now recognizing the parameter and functioning correctly. I discovered this solution in one of your replies on a similar topic, so I wanted to express my gratitude. Thank you!