Skip to content

Commit

Permalink
Merge branch 'main' into runtimes-license
Browse files Browse the repository at this point in the history
  • Loading branch information
jomarko committed Nov 26, 2024
2 parents e376fd9 + 26f9c10 commit a6cac6b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ private WorkflowElementIdentifier handleCompensation(RuleFlowNodeContainerFactor
Transition transition = compensation.getState().getTransition();
compensation.handleTransitions(embeddedSubProcess, transition, compensation.getNode());
compensation.handleConnections(embeddedSubProcess);
return compensation.getNode().getNode().getId();
return compensation.getOutgoingNode().getNode().getId();
}

public void handleState() {
Expand Down Expand Up @@ -335,6 +335,10 @@ private void connectEnd(RuleFlowNodeContainerFactory<?, ?> factory) {
return node;
}

public final NodeFactory<?, ?> getOutgoingNode() {
return outgoingNode;
}

public S getState() {
return state;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,18 @@
"errorRef": "OddException",
"transition": "OddHandler"
}
]
],
"transition": "compensating_even_more"
},
{
"name": "compensating_even_more",
"usedForCompensation" : true,
"type": "parallel",
"branches": [
{"name": "branch1", "actions" :[]},
{"name": "branch2", "actions" :[]}

]
},
{ "name": "OddHandler",
"type":"inject",
Expand Down

0 comments on commit a6cac6b

Please sign in to comment.