IF Node doenst work if I use a Edit Field Node

Describe the problem/error/question

In my other Questen why does the Merge Node doesnt find the source was one anwser to use a set node. Merge node doesen’t find source - Questions - n8n Community
I add two Set Nodes to my workflow now I have the issue that the IF Node doesent work.
I think the workflow skip the If node.

Please share your workflow

And if I delete the Set nodes the workflow works.

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • **n8n version: **
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @chip hope all is well.

Troubleshooting images isn’t easy, would you consider sharing/embedding you workflow here?

click for example. Ideally, you can only share the part which causes problems for you or the minimal reproducible example.

While you do that, I looked on the screenshots.
The first one shows that the IF node correctly outputs an empty response in the false branch.
The second one features a part of the workflow, indicating an issue with a Code node.
The next shows the configuration of the merge Code node, the node previous to the one having problems.
Finally the last one shows the node in question, where you try to substring the value of the fields in the input which do not exist.

What is expected outcome here?

Hey @jabbson

I copy and paste the all nodes in a new Workflow and now it works.

Great! Glad to hear you have figured it out.

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