retryStrategy property

String? retryStrategy
getter/setter pair

Defines what happens to the task upon failure. Possible string values are:

  • "UNSPECIFIED"
  • "IGNORE" : Ignores the failure of this task. The rest of the workflow will be executed Assuming this task succeeded.
  • "NONE" : Causes a permanent failure of the task. However, if the last task(s) of event was successfully completed despite the failure of this task, it has no impact on the workflow.
  • "FATAL" : Causes a permanent failure of the event. It is different from NONE because this will mark the event as FAILED by shutting down the event execution.
  • "FIXED_INTERVAL" : The task will be retried from the failed task onwards after a fixed delay. A max-retry count is required to be specified with this strategy. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. Max_num_retries and interval_in_seconds must be specified.
  • "LINEAR_BACKOFF" : The task will be retried from the failed task onwards after a fixed delay that linearly increases with each retry attempt. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. A max-retry count is required to be specified with this strategy. Max_num_retries and interval_in_seconds must be specified.
  • "EXPONENTIAL_BACKOFF" : The task will be retried after an exponentially increasing period of time with each failure. A jitter is added to each exponential interval so that concurrently failing tasks of the same type do not end up retrying after the exact same exponential interval. A max-retry count is required to be specified with this strategy. max_num_retries and interval_in_seconds must be specified.
  • "RESTART_WORKFLOW_WITH_BACKOFF" : The entire workflow will be restarted with the initial parameters that were set when the event was fired. A max-retry count is required to be specified with this strategy. max_num_retries and interval_in_seconds must be specified.

Implementation

core.String? retryStrategy;