RetryIterator
Run an execute block, catch specified errors and retry up to a specified number of times the same execute block.
| Parameter | Required | Data type | Details |
|---|---|---|---|
| delay | No | integer or null | Delay in milliseconds between the completion of prior action before retrying |
| errorConditions | Yes | enum (of string) | Specifies the errors to be caught and retried. Must be one of BadRequestError,
CacheUnmetInputs, CacheUnmetOutputs, ConnectionError, CorsRejectError, CustomError, ForbiddenError,
InternalError, JsonataError, JsonataNoMatchError, LimitExceededError, LuaScriptError,
MethodNotAllowedError, NotFoundError, NotImplementedError, RedirectsExceeded, ParseError,
SqlInjectionFilterError, TimeoutError, UnauthorizedError and ValidateError
|
| execute | Yes | object | Actions which the policy will run/retry based on the above criteria |
| retries | Yes | integer |
Number of times to retry the action while errorConditions are met. Value must be greater or equal
to |