Merge Data taken from a path that shouldn't be executed

Hey all,
I am trying to do some security checks on URLs, and in case there are no URLs to check just output static data. For that I used Merge node, but somehow the Code node in the If branch which shouldn’t be executed is being executed (node “Clean”) and is mixing data in the flow. Could you help me understand why?

Describe the problem/error/question

The data from a node that shouldn’t be executed is mixed in the flow.

What is the error message (if any)?

Please share your workflow

Broken workflow

Testing workflow which works as expected

Information on your n8n setup

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

I will reply to myself, just in case someone is having the same issue ;D

It was a problem in n8n before version 1, the documentation and explanation is here - Merge | n8n Docs

Solution - change the Execution Order for the flow: to v1.

3 Likes

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