Skip to content

Commit b9af6cb

Browse files
authored
fix invalid comma in example (#416)
Signed-off-by: Tihomir Surdilovic <[email protected]>
1 parent a63df8a commit b9af6cb

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

examples/README.md

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -3409,7 +3409,7 @@ We fist define our top-level workflow for this example:
34093409
"subFlowRef": {
34103410
"workflowId": "vitalscheck",
34113411
"waitForCompletion": false
3412-
},
3412+
}
34133413
}
34143414
],
34153415
"transition": "WaitForCarStopped"
@@ -3468,42 +3468,42 @@ version: '1.0'
34683468
specVersion: '0.7'
34693469
start: WhenCarIsOn
34703470
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
34893489
actions:
3490-
- eventRef:
3491-
triggerEventRef: StopVitalsCheck
3492-
resultEventRef: VitalsCheckingStopped
3493-
end: true
3490+
- eventRef:
3491+
triggerEventRef: StopVitalsCheck
3492+
resultEventRef: VitalsCheckingStopped
3493+
end: true
34943494
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
35073507
```
35083508

35093509
</td>

0 commit comments

Comments
 (0)