Files
n8n-docs/docs/code-examples/javascript-functions/methods-variables/run-index.md
2022-08-30 16:36:31 +01:00

237 B

$runIndex

Contains the index of the current run of the node.

// Returns all items the node "IF" outputs (index: 0 which is Output "true" of the same run as current node)
const allItems = $items("IF", 0, $runIndex);