Interface: WorkflowTaskResult
The output of one workflow task (C-ABI).
Properties
commands
commands:
WorkflowCommand[]
failure?
optionalfailure?:object
cause
cause:
"NON_DETERMINISM"|"TASK_TIMEOUT"|"ISOLATE_MEMORY"|"PROTOCOL_MISMATCH"|"BUNDLE_UNAVAILABLE"|"BUNDLE_INTEGRITY"|"WORKFLOW_CODE_ERROR"|"HISTORY_LIMIT"|"UNSUPPORTED_COMMAND"|"INVALID_REQUEST"|"INTERNAL"
errorType?
optionalerrorType?:string
message
message:
string
seq?
optionalseq?:number
stackTrace?
optionalstackTrace?:string
localActivityRequests?
optionallocalActivityRequests?:LocalActivityRequest[]
logs
logs:
TaskLogLine[]
outcome
outcome:
"commands"|"failed"|"localActivityRequested"
protocol
protocol:
number
queryResults?
optionalqueryResults?:QueryResult[]
sinkCalls?
optionalsinkCalls?:SinkCall[]
Sink calls of the open activation, at most MAX_SINK_CALLS.
stackTrace?
optionalstackTrace?:string
unfinishedHandlers?
optionalunfinishedHandlers?:UnfinishedHandler[]
Handlers still running when this task's terminal command was issued, with
policy WARN_AND_ABANDON (R2). Never set on replay.