I have a merge node that doesn’t get all its inputs, by design. It is an and gate. It shouldn’t always receive both inputs.
I have to use a merge node because I have to pass binary data. Yet, if a merge node doesn’t get all its data and the subworkflow doesn’t completely finish, then the subworkflow doesn’t return data to the parent.
What is the error message (if any)?
Please share your workflow
The rendering engine keeps thinking I'm posting raw_html, so I cannot.
Both merge nodes also take in data from the originating “email trigger” / parent workflow node. But I can’t post that here because the rendering engine blocks “raw_html”.
Sorry, could you elaborate on what exactly is the purpose of the merge node again? Why can’t the code node simply pass whatever the output is to the next code node? Or do you have something connected to Input 2 as well, but it’s not visible here?
If you provide more details as to exactly what goes in what needs to happen and what needs to go out, I can understand it better and suggest alternatives.
The merge node does a few things:
Yes, there’s something connected to input 2 – it was a “mail trigger”, which is passed down by the parent workflow, but I couldn’t upload that because I have some pinned data there that this forum reads as raw_html and bans.
Fundamentally, just think of it as the merge node allows me to pass binary data down to the node just after the merge → combine → {target node that needs binary data}.
So if I’m following, the merge node doesn’t always receive both inputs right? If you can’t control that, but want to continue anyway, you can use an Edit Fields node that either passed on your data, or sets it as null, so it’s always set and reach the merge node: