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

View source: R/swf_operations.R

swf_respond_activity_task_completedR Documentation

Used by workers to tell the service that the ActivityTask identified by the taskToken completed successfully with a result (if provided)

Description

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.

Usage

swf_respond_activity_task_completed(taskToken, result = 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.

result

The result of the activity task. It is a free form string that is implementation specific.


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