cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple deployments of process definition on application start up

koolrich
Champ in-the-making
Champ in-the-making
Hello,

I am programmatically deploying process definitions on application startup. I have restarted my application about 3 times now and i have noticed that there are 3 process definitions deployed for the same process.

So my question essentially is as follows:
1. How can i avoid deploying the same process again on application startup.
2. An exception to 1 above is re-deploying in the case of process definition change. How?
3. If a process has been deployed already and a process instance has been initiated, if you deploy an update to the process definition does that in any way affect on going process instances?

Many thanks for you help in advance.
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

1) remove the process model deployment from configuration
2) (May be I do not understand the question) Check automatic deployment implementation and add there possibility to avoid deployment when it is not needed.
3) no, process instance still behave according to "old" process definition

Regards
Martin