|
@@ -464,6 +464,13 @@ export interface NodeExecution {
|
|
|
output: any
|
|
output: any
|
|
|
error?: string
|
|
error?: string
|
|
|
retryCount?: number
|
|
retryCount?: number
|
|
|
|
|
+ // Present only when this node ran inside a loop body. loopNodeId names the
|
|
|
|
|
+ // loop node that owns the iteration; loopIteration is the 0-based index of
|
|
|
|
|
+ // that iteration. Both are absent for a node that did not run in a loop,
|
|
|
|
|
+ // and absent entirely on executions recorded before the engine started
|
|
|
|
|
+ // sending them - treat their absence as "unknown", not "not in a loop".
|
|
|
|
|
+ loopNodeId?: string
|
|
|
|
|
+ loopIteration?: number
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export interface WorkflowSnapshot {
|
|
export interface WorkflowSnapshot {
|