Files
n8n-docs/docs/code-examples/methods-variables-examples/run-index.md
2023-07-18 15:33:16 +01:00

232 B

contentType
contentType
reference

$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);