rafi
April 3, 2024, 8:22am
1
Describe the problem/error/question
My Workflow uses an IF node with a connected true and false path. In my tests, i have dicovered, that a false path is executed what should not be possible in this data situation:
7 Items come in - 7 Items use the true path.
Why is the node after the false path called?
What is the error message (if any)?
none
Please share your workflow
this is the part of the screenshot
Share the output returned by the last node
I expect, that the connected nodes after the false path are not executed in this case.
Information on your n8n setup
n8n version: 1.33.1
Database (default: SQLite): default
n8n EXECUTIONS_PROCESS setting (default: own, main): ?
Running n8n via (Docker, npm, n8n cloud, desktop app): docker
Operating system: ubuntu
barn4k
April 3, 2024, 8:25am
2
hello @rafi
I suppose it’s because of the Merge node. As it waits for two inputs.
rafi
April 3, 2024, 8:28am
3
but this is the trick in this workflow. when the false path is not called, the merge should not finish
barn4k
April 3, 2024, 8:38am
4
If you want to achieve that behaviour, then it should be linked in another way
rafi
April 3, 2024, 8:50am
5
ok - now it works, so first of all thank you.
But can you explain this behaviour? My merge config is like this:
I thought that the merge wont be finished, when the upper path (the false path) in this case, never gets called.
barn4k
April 3, 2024, 9:20am
6
Actually I don’t know why the false path has been partially executed, as it usually shouldn’t
@Jon maybe you have some thoughts about that?