swf_respond_activity_task_failed: Used by workers to tell the service that the ActivityTask...

View source: R/swf_operations.R

swf_respond_activity_task_failedR Documentation

Used by workers to tell the service that the ActivityTask identified by the taskToken has failed with reason (if specified)

Description

Used by workers to tell the service that the ActivityTask identified by the taskToken has failed with reason (if specified). The reason and details appear in the ActivityTaskFailed event added to the workflow history.

See https://www.paws-r-sdk.com/docs/swf_respond_activity_task_failed/ for full documentation.

Usage

swf_respond_activity_task_failed(taskToken, reason = NULL, details = NULL)

Arguments

taskToken

[required] The taskToken of the ActivityTask.

taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results.

reason

Description of the error that may assist in diagnostics.

details

Detailed information about the failure.


paws.application.integration documentation built on Sept. 12, 2023, 1:18 a.m.