$input.item in Code node

I’m a bit confused.
The documentation says that $input.item is not available in code node:

But when adding a Code node and switching the mode to “Run once per item”, the default code gives you an example which uses $input.item.

It makes seens for the “Run once for all items” mode, but not the other one.

Maybe the last column in the documentation table should be split in two columns for each code node mode.

Change my mind if I have a thinking error.



Hi @renetheastronaut thanks for this. Did a quick test and looks like it does in fact work in both settings. Have updated the docs.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.