Describe the problem/error/question
Fields changing to undefined when running, but show data prior to execution [sometimes]. Several previous nodes reference the same data, but only the last step is doing this. It’ll work if I change .item to .first(), but there’s only 1 item. Looking for clarification on what’s different here.
With all the previous nodes run, this is what the last step looks like prior to execution. Sometimes it will say undefined the entire time though. I don’t know why sometimes re-executing the previous steps will make the data available, but other times not.
And when I go to execute it (in editor as test, or live), it turns into this:
But if I go to the previous node, it’s referencing the same data just fine
The expressions there are just from dragging the fields in. Now, if I replace item in the expression with first(), it works. I do not understand why though, as I do not have to do that in previous nodes. And there’s only 1 item being passed through. The other branch, which references some of the same starting data, works fine with the default expressions. I’ve never had to do that on any of my other workflows either.
Please share your workflow
Some sensitive info in there, but here's a screenshot. The top branch works fine, calling the same exact sub-workflow as the bottom branch. Let me know if you want specifics on any nodes in particular.
Information on your n8n setup
- n8n version: 2.17.7
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): npm
- Operating system:




