ExecutionStateResult
Defined in: src/types/index.ts:1491
Per-state result derived from an execution’s event history.
Properties
Section titled “Properties”attempts
Section titled “attempts”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?
Section titled “durationMs?”durationMs?: number;Defined in: src/types/index.ts:1495
Total time spent in the state in milliseconds (summed across re-entries)
error?
Section titled “error?”error?: string;Defined in: src/types/index.ts:1497
Error name associated with a failed, caught or aborted state
status
Section titled “status”status: ExecutionStateStatus;Defined in: src/types/index.ts:1499
Outcome of the state