Used by workers to tell the service that the ActivityTask identified by the taskToken has failed with reason (if specified)
Source:R/swf_operations.R
swf_respond_activity_task_failed.RdUsed 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.
Arguments
- taskToken
[required] The
taskTokenof the ActivityTask.taskTokenis generated by the service and should be treated as an opaque value. If the task is passed to another process, itstaskTokenmust 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.