Code doesn't get all the items

Hi,

I have a problem with my workflow, I want to check a condition on my attribute “DIMO_site” but n8n doesn’t seem to get all the items in input.

Could you help me please ?

Thanks,
Ben

Hi @BenJ, would require a specific data structure when returning your results. This data structure also applies to your incoming items, so you’d need to make sure you read data from the json property of your incoming data.

Here’s a quick example:

I’ve also added a line to keep the input data for each result to better illustrate where a result comes from. This is how the output looks like:

Hope this helps!

2 Likes

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