aboutsummaryrefslogtreecommitdiffstats
path: root/docs/clamp/acm/plantuml/system-dialogues/PrepareAcInstance.puml
blob: dd7cc7eeef6bca50ba68e0535c4befae33c879a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@startuml
participant REST
participant "ACM Runtime"
participant Participants
database "ACM Database"

REST -> "ACM Runtime": Prepare Automation Composition Instance
"ACM Runtime" -> "ACM Database": Read Automation Composition Instance Information

alt Automation Composition Instance exists
  "ACM Runtime" -> Participants: [ASYNC] Prepare AC Element Instances for this AC Instance
  "ACM Runtime" -> "ACM Database": Set AC Instance and its AC Element Instances to subState PREPARING
  "ACM Runtime" -> REST: Prepare of Automation Composition Instance has been requested
else
  "ACM Runtime" -> REST: Automation Composition instance does not exist
end

@enduml