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.
swf_respond_activity_task_failed(taskToken, reason = NULL, details = NULL)
[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.
Description of the error that may assist in diagnostics.
Detailed information about the failure.