Run Once for All Items Code Node Not Receiving All Items from $input.all()

Describe the problem/error/question

Code node is set to run over all items. Two items visible in Input in UI.

$input.all() only gets one item in Compose Full Event node. Do I need to recombine these somehow?

Share the output returned by the last node

Your last IF node is creating 2 branches which might be the issue, can you try adding a No Operation node just before the Compose Full Event node for a quick test?

Another test to do is add a merge node like so, and adjust the following code node if needed as the structure can change a bit:

1 Like

I added the No Operation node. Same behavior. It sees both inputs but only returns one. The src item is skipped, only src_user is returned.

The Merge option does work. I was afraid to use that because the Per-Field Processing node “looks back” to earlier nodes and I was concerned that the merge would break the “lineage” of each item - but the output object looks good.

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