How to handle Errors during Actions #491
-
Would like to clarify what happens when an action (or more) fails amongst the set of actions to be done even after retrying? With known/expected errors
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You can read the spec doc about "autoretries" and "nonRetryableErrors" properties to see more info on retries. Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
@cdavernas this question brings up the point again of adding the ability of actions groups in the future versions. This would give users the ability to retry a number of actions as a group, and not only individually as its currently possible, just fyi :) |
Beta Was this translation helpful? Give feedback.
Sequential mode: If one invocation fails, and its retries are exhausted, the error is to be handled in the states onErrors definition. if error is not handled, workflow should fail.
Parallel mode: actions are executed in parallel. If any fail and its retries are exhausted, the error is to be handled in the states onErrors definition. If error is not handled, workflow should fail.
You can read the spec doc about "autoretries" and "nonRetryableErrors" properties to see more info on retries.
Hope this helps.