failTask()

Overview

public void function failTask(
      struct  error     
    , boolean forceRetry = false
)

Marks a task as failed

Arguments

NameTypeRequiredDescription
errorstructNoError that prompted task failure
forceRetrybooleanNo (default=false)If true, will ignore retry config and automatically queue for retry