update - 解决实例执行流程中,网关节点出口节点选择异常的问题
This commit is contained in:
parent
2eb5cf19c8
commit
1ebb217fa0
@ -54,7 +54,7 @@ public class SequenceFlowForecasting extends AbstractForecast<SequenceFlow> {
|
||||
if (sourceFlowElement instanceof Gateway) {
|
||||
Gateway gateway = (Gateway) sourceFlowElement;
|
||||
flowElements.stream()
|
||||
.filter(i -> Objects.equals(i.getSourceRef(), gateway.getDefaultFlow()))
|
||||
.filter(i -> Objects.equals(i.getId(), gateway.getDefaultFlow()))
|
||||
.findAny().ifPresent(defaultFlows::add);
|
||||
} else {
|
||||
// 如果 conditionExpression 为空, 则认为是默认流
|
||||
|
||||
Loading…
Reference in New Issue
Block a user