Interface: IRespondQueryTaskCompletedRequest
workflowservice.v1.IRespondQueryTaskCompletedRequest
Properties of a RespondQueryTaskCompletedRequest.
Hierarchy
-
↳
IRespondQueryTaskCompletedRequest
Properties
cause
• Optional cause: null | WorkflowTaskFailedCause
Why did the task fail? It's important to note that many of the variants in this enum cannot apply to worker responses. See the type's doc for more.
Inherited from
completedType
• Optional completedType: null | QueryResultType
RespondQueryTaskCompletedRequest completedType
Inherited from
errorMessage
• Optional errorMessage: null | string
A plain error message that must be set if completed_type is QUERY_RESULT_TYPE_FAILED.
SDKs should also fill in the more complete failure field to provide the full context and
support encryption of failure information.
error_message will be duplicated if the failure field is present to support callers
that pre-date the addition of that field, regardless of whether or not a custom failure
converter is used.
Mutually exclusive with query_result. Set when the query fails.
Inherited from
failure
• Optional failure: null | $Properties
The full reason for this query failure. This field is newer than error_message and can be
encoded by the SDK's failure converter to support E2E encryption of messages and stack
traces.
Mutually exclusive with query_result. Set when the query fails.
Inherited from
namespace
• Optional namespace: null | string
RespondQueryTaskCompletedRequest namespace
Inherited from
pollerGroupId
• Optional pollerGroupId: null | string
Client must forward the poller_group_id received in PollWorkflowTaskQueueResponse for proper routing of the response.
Inherited from
queryResult
• Optional queryResult: null | $Properties
The result of the query.
Mutually exclusive with error_message and failure. Set when the query succeeds.
Inherited from
taskToken
• Optional taskToken: null | Uint8Array
RespondQueryTaskCompletedRequest taskToken