-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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 runs without both inputs #7775
Comments
Yes, that is expected and correct behavior. Merge3 waits until both connected nodes have been executed (and no node execution is outstanding). If there is no data on one of the inputs, it continues to process with the data it received. HTTP Request3 executes correctly 2x as it receives data 2x (it has an incoming connection from 2 different nodes). The "Execute Once" option is not about executing only once if it gets called multiple times, it is about executing only the first item for every call it receives. So if you call it once with 5 items and once with 3 it would normally make 8 requests. With "Execute Once" activated will it only run 2x. 1x for the first item of the 5 and 1x for the first item of the 3. I hope that makes sense. |
Merge1 is different as it has the Mode "chooseBranch" set which behaves differently. If it is set to the first input (as I assume in your case) and there is no data on that input, then the node does not run. As the chosen input did not provide any data. Agree, that is really something we have to tackle at some point. We just have to think about properly how exactly it should work and behave. Sorry, do not understand what you mean with binary data and expressions. |
Fix got released with |
Good news, This should now be resolved. If it is still an issue let me know and I will get this opened again. |
To be clear. What has been resolved is not the Merge-Node behavior. It is the issue that for some reason, the expressions were disabled for the Input Data Field. |
Describe the bug
The "Merge Node" is executing without having received data from both inputs.
To Reproduce
Steps to reproduce the behavior:
Recreate flow in the attached diagram.
Expected behavior
The Merge Node should not execute until it has received both inputs.
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: