TimelineEntry
Defined in: src/types/index.ts:1104
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:1106
1-based attempt number within this entry of the state; a Retry increments it.
branchCount?
Section titled “branchCount?”optional branchCount?: number;Defined in: src/types/index.ts:1108
Branches this Parallel started, from the history. Absent for any other state.
cause?
Section titled “cause?”optional cause?: TimelinePayload;Defined in: src/types/index.ts:1110
The failure’s cause, when payloads were captured and this run failed.
enteredMs
Section titled “enteredMs”enteredMs: number;Defined in: src/types/index.ts:1112
Epoch ms the state was entered, or the attempt began.
error?
Section titled “error?”optional error?: string;Defined in: src/types/index.ts:1114
Error name for a failed or caught entry, when the history records one.
exitedMs?
Section titled “exitedMs?”optional exitedMs?: number;Defined in: src/types/index.ts:1116
Epoch ms the entry ended; absent while it is still open.
fromNodeId?
Section titled “fromNodeId?”optional fromNodeId?: string;Defined in: src/types/index.ts:1118
Node id of the state this entry was transitioned from, when the history records one.
input?
Section titled “input?”optional input?: TimelinePayload;Defined in: src/types/index.ts:1120
The state’s input, when payloads were captured and the history recorded one.
iterationCount?
Section titled “iterationCount?”optional iterationCount?: number;Defined in: src/types/index.ts:1122
Iterations this Map started, from the history. Absent for any other state.
nodeId
Section titled “nodeId”nodeId: string;Defined in: src/types/index.ts:1124
Graph node id, matching the renderer’s data-state-id.
output?
Section titled “output?”optional output?: TimelinePayload;Defined in: src/types/index.ts:1126
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:1128
ASL state name, as the history records it.
status
Section titled “status”status: TimelineEntryStatus;Defined in: src/types/index.ts:1130
How this run of the state ended.