We use Camunda as an embedded process engine in our spring boot applications. We have a common database on our test environment which is used by three stages. This means that the same application with the same BPMN file or ProcessDefinition runs on all 3 stages. If you change the BPMN and deploy the application on one of the 3 stages, it can happen that the process definition is overwritten by restarting the application on another stage.
Now I’m trying to find a solution how I can deactivate the deployment of the BPMNs for certain stages (or different spring profiles). The ApplicationClass is annotated with the @EnableProcessApplication annotation. The processes.xml file is empty.
Unfortunately, setting the property camunda.bpm.auto-deployment-enabled=false did not work.
Does anyone have an idea how to turn off deployment for certain stages? I am grateful for every suggestion.