@@ -3409,7 +3409,7 @@ We fist define our top-level workflow for this example:
3409
3409
"subFlowRef": {
3410
3410
"workflowId": "vitalscheck",
3411
3411
"waitForCompletion": false
3412
- },
3412
+ }
3413
3413
}
3414
3414
],
3415
3415
"transition": "WaitForCarStopped"
@@ -3468,42 +3468,42 @@ version: '1.0'
3468
3468
specVersion: '0.7'
3469
3469
start: WhenCarIsOn
3470
3470
states:
3471
- - name: WhenCarIsOn
3472
- type: event
3473
- onEvents:
3474
- - eventRefs:
3475
- - CarTurnedOnEvent
3476
- transition: DoCarVitalsChecks
3477
- - name: DoCarVitalsChecks
3478
- type: operation
3479
- actions:
3480
- - subFlowRef:
3481
- workflowId: vitalscheck
3482
- waitForCompletion: false
3483
- transition: WaitForCarStopped
3484
- - name: WaitForCarStopped
3485
- type: event
3486
- onEvents:
3487
- - eventRefs:
3488
- - CarTurnedOffEvent
3471
+ - name: WhenCarIsOn
3472
+ type: event
3473
+ onEvents:
3474
+ - eventRefs:
3475
+ - CarTurnedOnEvent
3476
+ transition: DoCarVitalsChecks
3477
+ - name: DoCarVitalsChecks
3478
+ type: operation
3479
+ actions:
3480
+ - subFlowRef:
3481
+ workflowId: vitalscheck
3482
+ waitForCompletion: false
3483
+ transition: WaitForCarStopped
3484
+ - name: WaitForCarStopped
3485
+ type: event
3486
+ onEvents:
3487
+ - eventRefs:
3488
+ - CarTurnedOffEvent
3489
3489
actions:
3490
- - eventRef:
3491
- triggerEventRef: StopVitalsCheck
3492
- resultEventRef: VitalsCheckingStopped
3493
- end: true
3490
+ - eventRef:
3491
+ triggerEventRef: StopVitalsCheck
3492
+ resultEventRef: VitalsCheckingStopped
3493
+ end: true
3494
3494
events:
3495
- - name: CarTurnedOnEvent
3496
- type: car.events
3497
- source: my/car
3498
- - name: CarTurnedOffEvent
3499
- type: car.events
3500
- source: my/car
3501
- - name: StopVitalsCheck
3502
- type: car.events
3503
- source: my/car
3504
- - name: VitalsCheckingStopped
3505
- type: car.events
3506
- source: my/car
3495
+ - name: CarTurnedOnEvent
3496
+ type: car.events
3497
+ source: my/car
3498
+ - name: CarTurnedOffEvent
3499
+ type: car.events
3500
+ source: my/car
3501
+ - name: StopVitalsCheck
3502
+ type: car.events
3503
+ source: my/car
3504
+ - name: VitalsCheckingStopped
3505
+ type: car.events
3506
+ source: my/car
3507
3507
` ` `
3508
3508
3509
3509
</td>
0 commit comments