08-31-2017 12:22 PM
I am using activiti 5.22.0 with springboot 4.2.x
I am seeing ocassionally that a dupe rows with same version for a process def exists in ACT_RE_PROCDEF table causing the application to not load at all.
Is this a known issue?
thanks
09-01-2017 11:48 AM
Not that I'm aware. Could you please provide a screenshot of this from your table? At least the ProcessDefinitionId (ID_) should be unique!
09-01-2017 01:15 PM
I will provide next time it happens but we have only one process when this happens.
how do control when a new proc def gets inserted - i.e., insert if only new version for proc def is available instead of every boot up?
09-01-2017 03:03 PM
Check this link for more details about duplicate resource filtering.
Ciju
09-05-2017 02:25 PM
where is the version specified for the single-resource strategy? does not seem obvious from the designer perspective - somewhere else?
09-05-2017 02:40 PM
reviewing back the link - the single source seems to only handle version at a process def file level vs as a whole.
the issue that we were getting is that even though the bpmn file did not change and you just restart the server - a new row with higher version gets inserted all the time.
not sure how bpmn detects if anything changed from the bpmn since it was last deployed?
09-11-2017 02:37 PM
Today I faced exactly the same problem of duplicate rows with same version. I have two nodes in cluster, both were restarted same time and they ended up with same version but different ID_ though. Removing the rows just worked fine. Seems this is indeed a bug in activiti where it could possibly add rows with same version + key, however when you try to start a process with key, it queries for key + version and expects on only one result.
09-15-2017 07:06 AM
attaching the dupe
Explore our Alfresco products with the links below. Use labels to filter content by product module.