cancel
Showing results for 
Search instead for 
Did you mean: 

Deploy the same process twice without changes

rohail
Champ in-the-making
Champ in-the-making
Hello, the activiti user guide states the following:

Suppose we now deploy an updated version of the same process (e.g. changing some user tasks), but the id of the process definition remains the same. The process definition table will now contain the following entries:

Now, what if I deploy the same process twice, without making any changes to the model. The XML is identical. Will activiti increment the version and create a new deployed version in the database or will it ignore the call to deployment and retain the current version since nothing has changed?
2 REPLIES 2

rafaelduqueestr
Champ in-the-making
Champ in-the-making

jbarrez
Star Contributor
Star Contributor
> Will activiti increment the version and create a new deployed version in the database

Yes, every time you call the deploy action, a new deployment is made and stored in the database.
If you don't want that, you'll have to add some 'duplicate checking' yourself before handing it over to be deployed.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.