Adding new state and system diagrams/pages
[policy/parent.git] / docs / clamp / acm / plantuml / system-dialogues / PrimeAcTypeMultiplePpnts.puml
1 @startuml
2 participant ACM_Runtime
3 participant Participant
4
5 ACM_Runtime -> Participant: [ASYNC] Prime AC Element Types for this AC Type
6
7 loop over AC Element Types in AC Type
8  alt Does the primed Participant ID on this AC Element Type\nmatch my Participant ID
9   alt Does this AC Element Type already exist
10    ACM_Runtime <- Participant: [ASYNC] WARN: AC Element Type already exists
11   else
12    Participant -> Participant: Create AC Element Type
13    activate Participant
14    deactivate Participant
15    alt AC Element successfully created
16     ACM_Runtime <- Participant: [ASYNC] INFO: AC Element successfully primed
17    else
18     ACM_Runtime <- Participant: [ASYNC] ERROR: AC Element priming failed
19    end
20   end
21  else
22   note left of participant
23    ignore this AC Element Type as its for another participant
24   end note
25  end
26 end
27
28 @enduml