Describe the problem/error/question
Variables are suddenly [undefined] which was working properly before
What is the error message (if any)?
My variable from earlier node is undefined
Please share your workflow
** Here’s an image of the workflow. I cant share it otherwise I’ll hit the character limit for question content.
Share the output returned by the last node
Information on your n8n setup
- **n8n version: 1.99.1
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system:
1 Like
Facing the same issue, it’ really annoying.
The funny thing is that it happens randomly: I have a workflow with 3 almost identical branches executing one after the other (the AI agents just have slightly different instructions but output the same kind/structure of data) and a Merge node to wait for all executions before moving on with another agent.
Now, this last agent is able to read the outcome of the first 2 branches without issues, but always returns undefined on anything coming from the third branch. And yes, I checked everything, all single branches work when taken in isolation. No, it’s not human error, I even tried re-creating nodes in the 3rd branch to see if that would fix the problem. It’s just a bug that keeps happening every few releases (from what I’ve seen googling around).