Skip to main content

Interface: IWorkflowQueryResult

Properties of a WorkflowQueryResult.

Extends​

Properties​

answer?​

optional answer?: $Properties | null

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

Inherited from​

$Properties.answer


errorMessage?​

optional errorMessage?: string | null

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

Inherited from​

$Properties.errorMessage


failure?​

optional failure?: $Properties | null

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?: QueryResultType | null

Did the query succeed or fail?

Inherited from​

$Properties.resultType