/** * Sets the current flow as the default flow. * * @return the builder */ public B defaultFlow() { final SequenceFlow sequenceFlow = getCurrentSequenceFlowBuilder().getElement(); return defaultFlow(sequenceFlow); } }
/** * Sets the current flow as the default flow. * * @return the builder */ public B defaultFlow() { final SequenceFlow sequenceFlow = getCurrentSequenceFlowBuilder().getElement(); return defaultFlow(sequenceFlow); } }
.exclusiveGateway("joinRequest") .moveToLastExclusiveGateway() .defaultFlow() .sequenceFlowId("s2") .connectTo("joinRequest")
.exclusiveGateway("joinRequest") .moveToLastExclusiveGateway() .defaultFlow() .sequenceFlowId("s2") .connectTo("joinRequest")
.exclusiveGateway("joinRequest") .moveToLastExclusiveGateway() .defaultFlow() .sequenceFlowId("s2") .connectTo("joinRequest")
.endEvent("a") .moveToLastExclusiveGateway() .defaultFlow() .sequenceFlowId("s2") .endEvent("b")
.exclusiveGateway("joinRequest") .moveToLastExclusiveGateway() .defaultFlow() .sequenceFlowId("s2") .connectTo("joinRequest")
.endEvent("a") .moveToLastExclusiveGateway() .defaultFlow() .sequenceFlowId("s2") .endEvent("b")
.endEvent("b") .moveToLastExclusiveGateway() .defaultFlow() .sequenceFlowId("s3") .endEvent("c")
.endEvent("b") .moveToLastExclusiveGateway() .defaultFlow() .sequenceFlowId("s3") .endEvent("c")