Skip to content
PlantUML templates

PlantUML — Activity Beta (full feature set)

Activity beta showcase — swimlanes, partitions, fork/join, kill/detach/stop, repeat-while, coloured branches, notes.

Template previewPlantUML
Rendering…

Make it your own.

@startuml
|Customer|
start
:Place order;
note right
  Submitted via web
end note

|System|
partition "Validate" {
  if (valid order?) then (yes)
    fork
      :Reserve stock;
    fork again
      :Authorise payment;
      if (declined?) then (yes)
        #pink:Notify customer;
        kill
      else (no)
      endif
    end fork
  else (no)
    :Reject order;
    stop
  endif
}

|Warehouse|
repeat
  :Pick item;
repeat while (more items?) is (yes) not (no)
:Ship package;

|Customer|
:Receive package;
stop
@enduml