Used by workers to tell the service that the ActivityTask identified by the taskToken completed successfully with a result (if provided). The result appears in the ActivityTaskCompleted event in the workflow history.
See https://www.paws-r-sdk.com/docs/swf_respond_activity_task_completed/ for full documentation.
swf_respond_activity_task_completed(taskToken, result = 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.
The result of the activity task. It is a free form string that is implementation specific.