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?
Thanks,
Anjumaara
Hi Anjumaara,
there are number of options:
- use
resource
configuration parameter in your processes.xml
(see https://docs.camunda.org/manual/7.7/reference/deployment-descriptors/tags/process-archive/)
- use
resourceRootPath
and isScanForProcessDefinitions
in your processes.xml
- 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,
Anjumaara
Hi Svetlana,
Thanks for the help!
@PostDeploy and @PreUndeploy resolve my issue.
1 Like