Hi all,
I’m using the fluent API to create a process with a task and an exclusive gateway using this code:
Bpmn.createExecutableProcess()
.startEvent()
.userTask("myTask")
.exclusiveGateway()
.gatewayDirection(GatewayDirection.Diverging)
.condition("", "${x != 3}")
.endEvent()
.moveToLastGateway()
.condition("", "${x == 3}")
.connectTo("myTask")
.done();
This results in the following diagram:
As you can see the sequence flow connecting back to myTask is hidden behind other sequence flows and elements. Is there a way to specify waypoints for this sequence flow using the fluent API so that it’s cleary visible?