Closed
Description
What would you like to be added:
In current version, there is only one retry strategy can be assign to action:
"actions": [
{
"functionRef": "StorePatient",
"retryRef": "ServicesNotAvailableRetryStrategy",
"retryableErrors": ["ServiceNotAvailable"]
}]
"retries": [
{
"name": "ServicesNotAvailableRetryStrategy",
"delay": "PT3S",
"maxAttempts": 10
}
]
If a action can reference multi retry strategy it will be useful.
Why is this needed:
- amazon states language support multi retry strategy https://states-language.net/spec.html#errors
- If the action failed, user may want use different retry strategy, for example:
- delay 1s if the error is short-term(ex: FlowLimit)
- delay 5s if the error is long-term(ex: database is not available)
Metadata
Metadata
Assignees
Type
Projects
Status
Done