Interface: IWorkflowQueryResult
Properties of a WorkflowQueryResult.
Implemented by
Properties
answer
• Optional answer: null | IPayloads
Set when the query succeeds with the results.
Mutually exclusive with error_message and failure.
errorMessage
• Optional errorMessage: null | string
Mutually exclusive with answer. Set when the query fails.
See also the newer failure field.
failure
• Optional failure: null | IFailure
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: null | QueryResultType
Did the query succeed or fail?