update - 处理特殊的 JSON 转 BPMN 协议的逻辑
This commit is contained in:
parent
b5d3f63d9b
commit
e0cf547f27
@ -447,7 +447,8 @@ public final class BpmnJsonConverterUtil {
|
||||
? bpmnJsonNode.getChildren() : branch.getChildren();
|
||||
|
||||
if (Objects.isNull(nextJsonNode) || Objects.isNull(nextJsonNode.getId()) ||
|
||||
(Objects.equals(NODE_EMPTY, nextJsonNode.getType()) && Objects.isNull(nextJsonNode.getChildren()))) {
|
||||
(Objects.equals(NODE_EMPTY, nextJsonNode.getType()) &&
|
||||
(Objects.isNull(nextJsonNode.getChildren()) || Objects.isNull(nextJsonNode.getChildren().getId())))) {
|
||||
BpmnJsonNode tempEndNode = new BpmnJsonNode();
|
||||
tempEndNode.setIncoming(Lists.newArrayList(gateway.getId()));
|
||||
tempEndNode.setId(END_EVENT_ID);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user