Executing the following simple workflow on n8n 0.201.0 and 0.209.4 returns different results:
On version 0.201.0, the ‘length’ parameter on the last node is 1.
On version 0.209.4, the same parameter is 0.
I’ve observed a change in behavior related to the $items() function for multi-output nodes such as IF nodes.
While $items() would return the items of the branch that was pertinent to the flow of the workflow (true if it followed the true branch on the execution, and false otherwise), now it always returns the items of the true branch, even if it followed the false branch, and even if it is directly connected to the ‘false’ output of an IF node.
I question if this is intentional behavior, as it is not listed as a breaking change on the changelog.
Thank you for your fast reply @jan. I’m glad I could help somehow.
And thanks @sirdavidoff. As you pointed out, $('false').all(1) works just fine for the present example, just as $input.all().