Skip to content

Commit 809885d

Browse files
committed
verify process group name (Issue #903)
1 parent 2c8bc65 commit 809885d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

imixs-workflow-core/src/main/java/org/imixs/workflow/ModelManager.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -693,12 +693,15 @@ public List<ItemCollection> findStartTasks(final BPMNModel model, String process
693693
return result;
694694
}
695695

696-
// find Process containing matching the process group
696+
// find Process containing matching the process group name
697697
Set<BPMNProcess> processList = model.getProcesses();
698698
for (BPMNProcess _process : processList) {
699699
if (isImixsProcess(_process)) {
700-
process = _process;
701-
break;
700+
logger.fine("process name=" + _process.getName());
701+
if (processGroup.equals(_process.getName())) {
702+
process = _process;
703+
break;
704+
}
702705
}
703706
}
704707

0 commit comments

Comments
 (0)