Skip to content

TimelineEntry

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

One ordered run of one state: a single attempt, a single Map iteration, a single pass through a Parallel branch. Retries and re-entries are separate entries rather than being summed the way ExecutionStateResult sums them.

attempt: number;

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

1-based attempt number within this entry of the state; a Retry increments it, and so does a redrive that resumes the state.


branchCount?: number;

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

Branches this Parallel started, from the history. Absent for any other state.


cause?: TimelinePayload;

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

The failure’s cause, when payloads were captured and this run failed.


enteredMs: number;

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

Epoch ms the state was entered, or the attempt began.


error?: string;

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

Error name for a failed or caught entry, when the history records one.


exitedMs?: number;

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

Epoch ms the entry ended; absent while it is still open.


fromNodeId?: string;

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

Node id of the state this entry was transitioned from, when the history records one.


input?: TimelinePayload;

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

The state’s input, when payloads were captured and the history recorded one.


iterationCount?: number;

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

Iterations this Map started, from the history. Absent for any other state.


nodeId: string;

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

Graph node id, matching the renderer’s data-state-id.


output?: TimelinePayload;

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

The state’s output, when payloads were captured and this run exited normally.


stateName: string;

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

ASL state name, as the history records it.


status: TimelineEntryStatus;

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

How this run of the state ended.