cancel
Showing results for 
Search instead for 
Did you mean: 

version_ in ACT_RE_PROCDEF

micharg
Champ in-the-making
Champ in-the-making
Hello,

out of the blue in table ACT_RE_PROCDEF I have two rows for my workflow process; one with version_=1
and one with version_=2. When is version_ incremented?

Thank you
7 REPLIES 7

jbarrez
Star Contributor
Star Contributor
This is when you deploy a new version of your process definition.

micharg
Champ in-the-making
Champ in-the-making
Thank you for your answer. The strange thing was that I didn't change the bpmn (http://www.activiti.org/userguide/#versioningOfProcessDefinitions). I just redeployed
the application. In order the Activiti Engine to detect if the bpmn has changed does
it hash the file? Does it compare the creation dates? Or does it follow another algorithm?

Thank you again,
Mike

jbarrez
Star Contributor
Star Contributor
Do you have your process xml in your process engine config?
That would explain the duplicates, unless 'enableDuplicateFiltering' is set to true.

It compares the strings of the xml as-is.

micharg
Champ in-the-making
Champ in-the-making
Thank you for your answer.

feroz1
Champ in-the-making
Champ in-the-making
Hi, I'm completely new at using Activiti and running into the same issue of creating a new version of the process upon every deployment event though nothing has changed. Could you please explain it in detail… Thanks!

trademak
Star Contributor
Star Contributor
That's one possibility yes, which version of Activiti are you using?

Best regards,

micharg
Champ in-the-making
Champ in-the-making
In my case the process file contents was the same BUT its path was different  between two deployments (I deployed the war on a different computer).