I have two bpmn diagrams under the folder processes. From the documentation, it will read this folder and create process definitions for them. For some reason, it is creating 13 for one of the diagrams.
running processEngine.getRepositoryService().createProcessDefinitionQuery().count() returns 14 and I see one of my diagrams has been deployed 13 times.
for(ProcessDefinition definition:processEngine.getRepositoryService().createProcessDefinitionQuery().list()) {
log.info("Process definition : "+definition.getName());
}
Shouldn’t there only be two since I only have two diagrams?