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.
Properties
Section titled “Properties”attempt
Section titled “attempt”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?
Section titled “branchCount?”branchCount?: number;Defined in: src/types/index.ts:1549
Branches this Parallel started, from the history. Absent for any other state.
cause?
Section titled “cause?”cause?: TimelinePayload;Defined in: src/types/index.ts:1551
The failure’s cause, when payloads were captured and this run failed.
enteredMs
Section titled “enteredMs”enteredMs: number;Defined in: src/types/index.ts:1553
Epoch ms the state was entered, or the attempt began.
error?
Section titled “error?”error?: string;Defined in: src/types/index.ts:1555
Error name for a failed or caught entry, when the history records one.
exitedMs?
Section titled “exitedMs?”exitedMs?: number;Defined in: src/types/index.ts:1557
Epoch ms the entry ended; absent while it is still open.
fromNodeId?
Section titled “fromNodeId?”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?
Section titled “input?”input?: TimelinePayload;Defined in: src/types/index.ts:1561
The state’s input, when payloads were captured and the history recorded one.
iterationCount?
Section titled “iterationCount?”iterationCount?: number;Defined in: src/types/index.ts:1563
Iterations this Map started, from the history. Absent for any other state.
nodeId
Section titled “nodeId”nodeId: string;Defined in: src/types/index.ts:1565
Graph node id, matching the renderer’s data-state-id.
output?
Section titled “output?”output?: TimelinePayload;Defined in: src/types/index.ts:1567
The state’s output, when payloads were captured and this run exited normally.
stateName
Section titled “stateName”stateName: string;Defined in: src/types/index.ts:1569
ASL state name, as the history records it.
status
Section titled “status”status: TimelineEntryStatus;Defined in: src/types/index.ts:1571
How this run of the state ended.