修复网关包含子节点流程转换报错问题
This commit is contained in:
parent
d7d7cb4050
commit
b6cc8a773d
@ -268,7 +268,7 @@ public class BpmTransformUtil {
|
||||
// }
|
||||
}
|
||||
);
|
||||
if (Objects.nonNull(identifier)) {
|
||||
if (Objects.nonNull(identifier) && StringUtils.isNotBlank(identifier)) {
|
||||
incoming.add(identifier);
|
||||
}
|
||||
}
|
||||
@ -339,10 +339,7 @@ public class BpmTransformUtil {
|
||||
}
|
||||
}
|
||||
} else if (!CollectionUtils.isEmpty(incoming)) {
|
||||
incoming.forEach(i -> {
|
||||
process.addFlowElement(sequenceFlow(i, END_EVENT_ID, sequenceFlows, childNodeMap,
|
||||
process));
|
||||
});
|
||||
incoming.forEach(i -> process.addFlowElement(sequenceFlow(i, END_EVENT_ID, sequenceFlows, childNodeMap, process)));
|
||||
return "";
|
||||
}
|
||||
return exclusiveGatewayId;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user