Approval flow with branch
A reimbursement approval with three lanes and a rejection branch. Type the activity grammar on the left, watch the lane layout render live on the right.
@startuml
|Employee|
start
:Submit reimbursement;
|Manager|
:Review request;
if (Approved?) then (yes)
|Finance|
:Process payment;
else (no)
|Employee|
:Receive rejection;
endif
stop
@enduml