aboutsummaryrefslogtreecommitdiffstats
path: root/docs/clamp/acm/plantuml/system-dialogues/ReviewAcInstance.puml
blob: ce40a003c66dcf8538abe8f1767db1dbfda82c75 (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": Review Automation Composition Instance
"ACM Runtime" -> "ACM Database": Read Automation Composition Instance Information

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

@enduml