Skip to content

ExecutionStateResult

Defined in: src/types/index.ts:1491

Per-state result derived from an execution’s event history.

attempts: number;

Defined in: src/types/index.ts:1493

Number of attempts (1 + retries, and one more for each redrive that resumed the state); always ≥ 1 for states that were entered


durationMs?: number;

Defined in: src/types/index.ts:1495

Total time spent in the state in milliseconds (summed across re-entries)


error?: string;

Defined in: src/types/index.ts:1497

Error name associated with a failed, caught or aborted state


status: ExecutionStateStatus;

Defined in: src/types/index.ts:1499

Outcome of the state