Is there any way to control deployment of processes through process application?
If I have 5 processes in my application,in normal scenario process application will deploy all the processes, but if i want to deploy only few/selected processes through process application,how can i achieve this?
there are number of options:
resource configuration parameter in your
processes.xml (see https://docs.camunda.org/manual/7.7/reference/deployment-descriptors/tags/process-archive/)
isScanForProcessDefinitions in your
- Deploy the processes manually via Java API in
@PostDeploy method of your process application
Thanks sdorokhova for your response!
I am using @PostDeploy method for this.
But, when ProcessApplication starts executing it is also deploying old processes which i have removed from my application as well as Camunda Cockpit.
Any idea where it is coming from?
Thanks for the help!
@PostDeploy and @PreUndeploy resolve my issue.