提交 8308774c 编写于 作者: T Tijs Rademakers 提交者: Joram Barrez

Fixed issue with empty call activity reference

上级 9837d651
......@@ -436,7 +436,7 @@ public class BaseProcessDefinitionDiagramLayoutResource {
// If active activities nas no instance of this callActivity then add
// last definition
if (processInstanceArray.size() == 0) {
if (processInstanceArray.size() == 0 && StringUtils.isNotEmpty(callActivityBehavior.getProcessDefinitonKey())) {
// Get last definition by key
ProcessDefinition lastProcessDefinition = repositoryService
.createProcessDefinitionQuery()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册