EnterpriseCrmEventbusProtoFailurePolicyResponse

data class EnterpriseCrmEventbusProtoFailurePolicyResponse(val intervalInSeconds: String, val maxNumRetries: Int, val retryStrategy: String)

Policy that defines the task retry logic and failure type. If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a retry_strategy of NONE will be applied).

Constructors

fun EnterpriseCrmEventbusProtoFailurePolicyResponse(intervalInSeconds: String, maxNumRetries: Int, retryStrategy: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the initial interval for backoff.

Link copied to clipboard

Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF. Defines the number of times the task will be retried if failed.

Link copied to clipboard

Defines what happens to the task upon failure.