Skip to main content

Interface: IWorkflowQueryResult

query.v1.IWorkflowQueryResult

Properties of a WorkflowQueryResult.

Hierarchy

Properties

answer

Optional answer: null | $Properties

Set when the query succeeds with the results. Mutually exclusive with error_message and failure.

Inherited from

$Properties.answer


errorMessage

Optional errorMessage: null | string

Mutually exclusive with answer. Set when the query fails. See also the newer failure field.

Inherited from

$Properties.errorMessage


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 answer. Set when the query fails.

Inherited from

$Properties.failure


resultType

Optional resultType: null | QueryResultType

Did the query succeed or fail?

Inherited from

$Properties.resultType