File tree 1 file changed +34
-0
lines changed
1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : OnlineOrderProcessingWorkflow
2
+ version : 1.0
3
+ start : StartNode
4
+ nodes :
5
+ - name : StartNode
6
+ type : start
7
+ - name : CheckOrderAmount
8
+ type : gate
9
+ conditions :
10
+ - name : HighValueOrder
11
+ expression : order.totalAmount > 1000
12
+ - name : LowValueOrder
13
+ expression : order.totalAmount <= 1000
14
+ - name : ProcessHighValueOrder
15
+ type : task
16
+ task_reference : ProcessHighValueOrderTask
17
+ - name : ProcessLowValueOrder
18
+ type : task
19
+ task_reference : ProcessLowValueOrderTask
20
+ - name : EndNode
21
+ type : end
22
+ connections :
23
+ - source : StartNode
24
+ target : CheckOrderAmount
25
+ - source : CheckOrderAmount
26
+ target : ProcessHighValueOrder
27
+ condition : HighValueOrder
28
+ - source : CheckOrderAmount
29
+ target : ProcessLowValueOrder
30
+ condition : LowValueOrder
31
+ - source : ProcessHighValueOrder
32
+ target : EndNode
33
+ - source : ProcessLowValueOrder
34
+ target : EndNode
You can’t perform that action at this time.
0 commit comments