Skip to main content

Interface: $Properties

Properties of a WorkflowQueryResult.

Extended by​

Properties​

answer?​

optional answer?: $Properties | null

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


errorMessage?​

optional errorMessage?: string | null

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


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.


resultType?​

optional resultType?: QueryResultType | null

Did the query succeed or fail?