When I use the variables in the schema it gives me those variables so I don’t know what’s happening. This workflow has been used for months without any changes and it has been working properly with no issues for months.
Please share your workflow
I cut of 95% the workflow because the topic wouldnt allow this many characters.
Thisis the output because the airtable formula doesn’t work because the variables are [undefined] but i use these variables in many subsequent nodes so those would error too.
The issue is nodes later in the workflow can not reference nodes that executed earlier in the workflow!
What makes this bug weird:
I can still access the node that ran earlier and drag and drop fields from it but they just become undefined.
I can reference the node that ran with the exact same expression earlier in the workflow just fine, i.e. there is a random “cut off” point in the workflow after which the earlier node can’t be referenced.
Workflows that have worked fine and referenced those earlier nodes suddenly broke down after hundreds of successful executions.
Apologies for this @Leon_Botzen, that should definitely not happen. We’re trying to reproduce this right now but fail to do so at the moment. A few questions:
What version of n8n are you seeing this on?
Is this only happening in manual executions or also in production ones?
I tried copying the workflow above but did not run into the error. Would you happen to have another example? Maybe @Tero could you share your example?
Sorry, I can’t get the workflow below the character limit without completely breaking it so can’t paste it here. Here is a download link to the workflow from the video (add a set node after the Postgres node and reference Company Data node to replicate): database_contacts_agent____.json
How do I reference a variable that I set with edit fields and later want to check again. I want to access that variable in a switch fields event. Nio way to access my $json.whichflow cause it wasn’t passed… how do I pass global variables that I want to access across the entire workflow? Is this so hard… like wtf?