So I’m building a flow with n8n with different data entry points, everything works find until I use a code node, then when I try to use the data from previous nodes it don’t work because items are not linked anymore. I don’t understand how to make them linked. So I can access all the data from all the previous nodes, in all the next nodes before and after the following codes nodes.
So…
How to keep item linking through different nodes after code nodes ?
First code block, I can still access data from previous nodes, code node two I can’t (it work because i’ve done some things, but it’s not how I want it), there are more codes nodes later were I really need to understand how to access the data because it’s more complicated.
It is difficult to think of the best way to achieve that, because I can’t execute most nodes and also I don’t understand the idea of what is happening here in the workflow, but here is the question, if you need to split out the image_parameters in the Split node, do you even need to connect the Code node to the Split node?
I’ve connected the code node to the split no because I would like to have it’s data in the fetch wms images node.
But I could link the set parameters & code node directly to de split node and it would work I think, but is this correct ?
But here the real problem, I would like to have access to the parcel merging & image parameters node data from overlay polygon on image node. That the important and difficult part…
The reason for needing to have a merge is that we want to achieve some sort of synchronization, as we need two inputs to enter the node at the same time, where as if you connect two inputs directly, the first input that comes will trigger the next node, you can see an example of this behaviour here