Hi all,
I have a question for a business process mapping. I am using the activity diagram (new version).
I am creating a decision process for an airline company that needs to decide about delaying or cancelling a flight when there are too little manpower resources. So the result is in the end is to proceed with a flight (maybe with a delay) or to cancel it.
In the process, I have several situations. Multiple lead to proceeding with the flight and multiple lead to cancellation of the flight. The problem is that I can't make the similar results end up in the same box. I have 3 results that lead to 'Assign flight' and 3 results that lead to 'Cancel flight'.
How can I make the same results end up in the same box? You can find my code below.
In the old version of activity mapping, this was very easy. You just had to use the same name of the box. Sadly that gives terrible visuals for this diagram.
I tried the 'goto' option, but this also gives bad visual results.
Thanks in advance for your reply!
Best regards,
Lode
@startuml
Title Distribution of open flights cockpit
start
if (Reserves available?) then (Yes)
:Analyse if reserve\nis suitable;
if (Suitable reserve\navailable?) then (Yes)
:Assign flight;
stop
else (No)
:Search for voluntary\nswap flight;
if (Voluntary\nswap found?) then (Yes)
:Assign flight;
stop
else (No)
:Request flight operations for CGW;
if (Request approved?) then (Yes)
:Send SMS;
if (Volunteer available?) then (Yes)
if (Is volunteer suitable?) then (Yes)
:Assign flight;
stop
else (No)
if (Make volunteer suitable\nby delaying flight) then
:Assign delayed flight;
stop
else (No)
:Cancel flight;
stop
endif
endif
else (No)
:Cancel flight;
stop
endif
else (No)
:Cancel flight;
stop
endif
endif
endif
else (no)
:No reserves available;
:Request flight operations for CGW;
stop
endif
@enduml