File size: 1,060 Bytes
1395e20
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
user { # User
  n1: circle label:"Start Nested Decisions"
  n2: diamond label:"Receive Nested Decisions event"
  n4: rectangle label:"Execute Nested Decisions action"
  n7: rectangle label:"Monitor Nested Decisions status"
  n10: circle label:"End Nested Decisions"
  n1.handle(right) -> n2.handle(left)
  n2.handle(bottom) -> service.n3.handle(top) [label="Yes/Approved"]
  n4.handle(bottom) -> app.n5.handle(top)
  n7.handle(bottom) -> app.n8.handle(top)
  n2.handle(top) -> n4.handle(top) [label="No/Rejected"]
}

app { # App
  n5: rectangle label:"Record Nested Decisions outcome"
  n8: rectangle label:"Monitor Nested Decisions status"
  n5.handle(bottom) -> service.n6.handle(top)
  n8.handle(bottom) -> service.n9.handle(top)
}

service { # Service
  n3: diamond label:"Validate Nested Decisions conditions"
  n6: rectangle label:"Monitor Nested Decisions status"
  n9: rectangle label:"Monitor Nested Decisions status"
  n9.handle(right) -> user.n10.handle(bottom)
  n6.handle(right) -> user.n7.handle(left)
  n3.handle(right) -> app.n5.handle(left)
}