Interface: RunCancelBatchOutcome
Defined in: packages/workflow-engine/src/kernel/commands.ts:165
One provider batch found on a run, and what run.cancel did to it.
Properties
error?
readonlyoptionalerror?:string
Defined in: packages/workflow-engine/src/kernel/commands.ts:182
Why the batch could not be cancelled (unavailable, failed, held).
externalKey?
readonlyoptionalexternalKey?:string
Defined in: packages/workflow-engine/src/kernel/commands.ts:177
The submit step's external key, for unrecorded and unverified.
heldUntil?
readonlyoptionalheldUntil?:string
Defined in: packages/workflow-engine/src/kernel/commands.ts:184
For held: when the other sweep's hold on the step ends (ISO 8601).
providerStatus?
readonlyoptionalproviderStatus?:string
Defined in: packages/workflow-engine/src/kernel/commands.ts:180
The provider's own status for the batch, as read before the cancel.
ref?
readonlyoptionalref?:EngineBatchRef
Defined in: packages/workflow-engine/src/kernel/commands.ts:175
Absent for unrecorded: no handle is recorded.
stageId
readonlystageId:string
Defined in: packages/workflow-engine/src/kernel/commands.ts:167
The stage that created the batch.
status
readonlystatus:RunCancelBatchStatus
Defined in: packages/workflow-engine/src/kernel/commands.ts:178
stepId?
readonlyoptionalstepId?:string
Defined in: packages/workflow-engine/src/kernel/commands.ts:173
The durable step that holds the batch (${id}:submit of a
ctx.step.ai.map). Absent for a batch found in the stage's
suspendedState.metadata.batchRefs.