Skip to content

Fix eventTimeout definitions on examples #628

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,9 @@ period, the workflow transitions to the "HandleNoVisaDecision" state.
"transition": "HandleRejectedVisa"
}
],
"eventTimeout": "PT1H",
"timeouts": {
"eventTimeout": "PT1H"
},
"defaultCondition": {
"transition": "HandleNoVisaDecision"
}
Expand Down Expand Up @@ -879,7 +881,8 @@ states:
transition: HandleApprovedVisa
- eventRef: visaRejectedEvent
transition: HandleRejectedVisa
eventTimeout: PT1H
timeouts:
eventTimeout: PT1H
defaultCondition:
transition: HandleNoVisaDecision
- name: HandleApprovedVisa
Expand Down
7 changes: 5 additions & 2 deletions specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -2390,7 +2390,9 @@ the [Workflow Timeouts](#Workflow-Timeouts) section.
"transition": "HandleRejectedVisa"
}
],
"eventTimeout": "PT1H",
"timeouts": {
"eventTimeout": "PT1H"
},
"defaultCondition": {
"transition": "HandleNoVisaDecision"
}
Expand All @@ -2408,7 +2410,8 @@ eventConditions:
transition: HandleApprovedVisa
- eventRef: visaRejectedEvent
transition: HandleRejectedVisa
eventTimeout: PT1H
timeouts:
eventTimeout: PT1H
defaultCondition:
transition: HandleNoVisaDecision
```
Expand Down