I'm taking this Q/A as a basis: plantUML: swimlanes and overlapping connectors
The peculiarity there is that the action flow comes to an end in p1 and P2, the two boxes are detached. What can be done if the flow continues, specifically where the two boxes lead to only one follow-up?
Just removing the *detach *won't work. What I actually want is the red arrow to be produced rather than the one from 3010 to 3006.
PlantUML diagram:
That's the code as taken from the other post, just with re-ordered swimlanes (if sb knows how to fix the overlap of the arrow through the green box, that would also be welcome).
@startuml
title something
|#daf0fe|Backend|
|#dee4e8|p1|
|#c4c9cd|p2|
|Backend|
start
:something;
if (open) then (yes)
:generate open data;
split
#3f3:Mail to p1\nMAIL ID: **3010**|
|p1|
:Receive Mail **3010**;
split again
|Backend|
#3f3:Mail to p2\nMAIL ID: **3006**|
end split
|p2|
:Receive Mail **3006**;
endif
|Backend|
#HotPink:something else>
stop
@enduml
Tried to add another split hierarchy, but that wouldn't work. Neither would goto.