Skip to content

Commit

Permalink
TE-585: Get sequence id with more field
Browse files Browse the repository at this point in the history
  • Loading branch information
trungmaihova committed May 23, 2024
1 parent c743bb3 commit db5b4ac
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,8 @@ private Optional<SequenceFlow> getSequenceFlow(NodeElement nodeElement, String f
return flow;
}
}


//Sequence flow after Task
Optional<SequenceFlow> flow = outs.stream().filter(out -> hasFlowNameOrEmpty(out, flowName)).findFirst();

return flow;
Expand Down Expand Up @@ -624,7 +625,7 @@ private boolean isDefaultPath(SequenceFlow flow) {
}

private boolean isDefaultPath(Alternative alternative, SequenceFlow sequenceFlow) {
String currentElementId = sequenceFlow.getPid().getFieldId();
String currentElementId = sequenceFlow.getPid().getFieldIds();
List<String> nextTargetIds = processGraph.getNextTargetIdsByCondition(alternative, EMPTY);
return nextTargetIds.contains(currentElementId);
}
Expand Down

0 comments on commit db5b4ac

Please sign in to comment.