Skip to content

Commit da216bf

Browse files
authored
Fix eventTimeout definitions on examples (#628)
Signed-off-by: Helber Belmiro <[email protected]>
1 parent cd853c7 commit da216bf

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

examples/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,9 @@ period, the workflow transitions to the "HandleNoVisaDecision" state.
815815
"transition": "HandleRejectedVisa"
816816
}
817817
],
818-
"eventTimeout": "PT1H",
818+
"timeouts": {
819+
"eventTimeout": "PT1H"
820+
},
819821
"defaultCondition": {
820822
"transition": "HandleNoVisaDecision"
821823
}
@@ -879,7 +881,8 @@ states:
879881
transition: HandleApprovedVisa
880882
- eventRef: visaRejectedEvent
881883
transition: HandleRejectedVisa
882-
eventTimeout: PT1H
884+
timeouts:
885+
eventTimeout: PT1H
883886
defaultCondition:
884887
transition: HandleNoVisaDecision
885888
- name: HandleApprovedVisa

specification.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2390,7 +2390,9 @@ the [Workflow Timeouts](#Workflow-Timeouts) section.
23902390
"transition": "HandleRejectedVisa"
23912391
}
23922392
],
2393-
"eventTimeout": "PT1H",
2393+
"timeouts": {
2394+
"eventTimeout": "PT1H"
2395+
},
23942396
"defaultCondition": {
23952397
"transition": "HandleNoVisaDecision"
23962398
}
@@ -2408,7 +2410,8 @@ eventConditions:
24082410
transition: HandleApprovedVisa
24092411
- eventRef: visaRejectedEvent
24102412
transition: HandleRejectedVisa
2411-
eventTimeout: PT1H
2413+
timeouts:
2414+
eventTimeout: PT1H
24122415
defaultCondition:
24132416
transition: HandleNoVisaDecision
24142417
```

0 commit comments

Comments
 (0)