Interface: IRespondWorkflowTaskCompletedRequest
Properties of a RespondWorkflowTaskCompletedRequest.
Extends
Properties
binaryChecksum?
optionalbinaryChecksum?:string|null
Deprecated. Use deployment_options instead.
Worker process' unique binary id
Inherited from
capabilities?
optionalcapabilities?:$Properties|null
All capabilities the SDK supports.
Inherited from
commands?
optionalcommands?:$Properties[] |null
A list of commands generated when driving the workflow code in response to the new task
Inherited from
deployment?
optionaldeployment?:$Properties|null
Deployment info of the worker that completed this task. Must be present if user has set
WorkerDeploymentOptions regardless of versioning being enabled or not.
Deprecated. Replaced with deployment_options.
Inherited from
deploymentOptions?
optionaldeploymentOptions?:$Properties|null
Worker deployment options that user has set in the worker.
Inherited from
forceCreateNewWorkflowTask?
optionalforceCreateNewWorkflowTask?:boolean|null
Can be used to force creation of a new workflow task, even if no commands have resolved or one would not otherwise have been generated. This is used when the worker knows it is doing something useful, but cannot complete it within the workflow task timeout. Local activities which run for longer than the task timeout being the prime example.
Inherited from
$Properties.forceCreateNewWorkflowTask
identity?
optionalidentity?:string|null
The identity of the worker/client
Inherited from
intermediatePage?
optionalintermediatePage?:boolean|null
True for non-final pages of a paginated workflow task completion. The final page's
page_number tells the server how many intermediate pages (0..page_number-1) preceded it.
May only be used when the namespace capability workflow_task_completion_pagination is true.
Inherited from
messages?
optionalmessages?:$Properties[] |null
Protocol messages piggybacking on a WFT as a transport
Inherited from
meteringMetadata?
optionalmeteringMetadata?:$Properties|null
Local usage data collected for metering
Inherited from
namespace?
optionalnamespace?:string|null
RespondWorkflowTaskCompletedRequest namespace
Inherited from
pageNumber?
optionalpageNumber?:number|null
0-indexed page number when the workflow task completion is split across multiple requests ("pages"). 0 for single-page requests. May only be set to non-zero value when the namespace capability workflow_task_completion_pagination is true.
Inherited from
queryResults?
optionalqueryResults?: {[k:string]:$Properties; } |null
Responses to the queries field in the task being responded to
Inherited from
resourceId?
optionalresourceId?:string|null
Resource ID for routing. Contains the workflow ID from the original task.
Inherited from
returnNewWorkflowTask?
optionalreturnNewWorkflowTask?:boolean|null
If set, the worker wishes to immediately receive the next workflow task as a response to this completion. This can save on polling round-trips.
Inherited from
$Properties.returnNewWorkflowTask
sdkMetadata?
optionalsdkMetadata?:$Properties|null
Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.
Inherited from
stickyAttributes?
optionalstickyAttributes?:$Properties|null
May be set by workers to indicate that the worker desires future tasks to be provided with incremental history on a sticky queue.
Inherited from
taskToken?
optionaltaskToken?:Uint8Array<ArrayBufferLike> |null
The task token as received in PollWorkflowTaskQueueResponse
Inherited from
versioningBehavior?
optionalversioningBehavior?:VersioningBehavior|null
Versioning behavior of this workflow execution as set on the worker that completed this task. UNSPECIFIED means versioning is not enabled in the worker.
Inherited from
$Properties.versioningBehavior
workerControlTaskQueue?
optionalworkerControlTaskQueue?:string|null
A dedicated per-worker Nexus task queue on which the server sends control tasks (e.g. activity cancellation) to this specific worker instance.
Inherited from
$Properties.workerControlTaskQueue
workerInstanceKey?
optionalworkerInstanceKey?:string|null
A unique key for this worker instance, used for tracking worker lifecycle. This is guaranteed to be unique, whereas identity is not guaranteed to be unique.
Inherited from
workerVersionStamp?
optionalworkerVersionStamp?:$Properties|null
Version info of the worker who processed this task. This message's build_id field should
always be set by SDKs. Workers opting into versioning will also set the use_versioning
field to true. See message docstrings for more.
Deprecated. Use deployment_options and versioning_behavior instead.