Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PlantUML Macro
@startuml
participant ACM_Runtime
participant Participant

ACM_Runtime -> Participant: [ASYNC] Take AC Element Instances for this AC Instance out of Service 

loop over AC Element Instances in AC Instance
 alt Does the primed Participant ID on this AC Element Instance\nmatch my Participant ID?
  alt Is this AC Element Instance already out of service
   ACM_Runtime <- Participant: [ASYNC] WARN: AC Element is already out of service
  else
   Participant -> Participant: Bring AC Element Instance out of Service
   activate Participant
   deactivate Participant
   alt AC Element drops out of service successfully
    ACM_Runtime <- Participant: [ASYNC] INFO: AC Element taken out of service
   else
    ACM_Runtime <- Participant: [ASYNC] ERROR: AC Element was not taken out of service
   end
  end
 else
  note left of participant
   ignore this AC Element instance as its for another participant 
  end note
 end
end

@enduml

...