|
@@ -187,7 +187,7 @@ public class WorkflowUtils {
|
|
|
AssertUtil.isTrue(CollUtil.isEmpty(flowNodes), ExceptionCons.NOT_PUBLISH_NODE);
|
|
|
Node startNode = flowNodes.stream().filter(t -> NodeType.isStart(t.getNodeType())).findFirst().orElse(null);
|
|
|
AssertUtil.isNull(startNode, ExceptionCons.LOST_START_NODE);
|
|
|
- Node nextNode = NODE_SERVICE.getNextNode(definitionId, startNode.getNodeCode(), null, SkipType.NONE.getKey());
|
|
|
+ Node nextNode = NODE_SERVICE.getNextNode(definitionId, startNode.getNodeCode(), null, SkipType.PASS.getKey());
|
|
|
return nextNode.getNodeCode();
|
|
|
}
|
|
|
|