Files
n8n-docs/docs/code-examples/methods-variables-examples/run-index.md
Deborah Barnard 3d6c76b1dd edits to ref
2022-09-08 18:52:12 +01:00

200 B

$runIndex

Contains the index of the current run of the node.

// Returns all items the node "IF" outputs (index: -1)
const allItems = $("<node-name").all("IF", 0, $runIndex-1);