-
Notifications
You must be signed in to change notification settings - Fork 15.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge node fails to output data on false branch during test step #13593
Comments
Hey @antonlvovych, We have created an internal ticket to look into this which we will be tracking as "GHC-999" |
Hey @antonlvovych, Interestingly I expect the merge node not to ever output data in the way you have it set up as it should always have the data in both inputs before moving on. I will pass this to the nodes team to resolve. |
@Joffcom if that’s the case, what would be the correct way to merge 2 inputs into 1 and continue the workflow regardless of which input arrives? I need the workflow to proceed with whichever branch completes and without waiting for both inputs. Here is my workflow and it works just fine except "Test step" on Merge node in case of FALSE branch. |
Hey @antonlvovych The way I have always dealt with that is just put both paths into the same input so drop the merge and have the false and edit edit field node both go into the http request node then the node will loop over the items for both inputs as needed. |
@Joffcom thank you 🙌 |
@Joffcom here is one more similar issue
![]() If I try to run not the entire workflow, but only a ![]() ![]() |
Bug Description
When executing a workflow containing a Merge node, the output is inconsistent depending on how the test is performed. Specifically, when using the "Test step" feature on the Merge node, the output is correct on the first execution but fails on the second execution. This issue only occurs for the FALSE branch, while the TRUE branch behaves as expected.
Possibly related to #12436
To Reproduce
Expected behavior
The Merge node should consistently output 1 item regardless of how many times Test step is executed. The output should not vary between the first and second execution, and the behavior should be identical for both the TRUE and FALSE branches.
Operating System
docker (self-hosted)
n8n Version
1.80.4
Node.js Version
20.18.3
Database
PostgreSQL
Execution mode
queue
The text was updated successfully, but these errors were encountered: