How to make the "If" node always give both outputs?

Hey!
How to make the “If” node always give both outputs: “True” and “False”. Even if one of them is empty?
Context:
The “If” node checks the string value for equality to any of the 4 options (True).
Everything that does not fall under the logic “True” should be sent to “False”, but there are some data volumes without these items.
The “If” node is inside a batch cycle with accumulation of the result, therefore, the “If” node must always send data to both outputs.

Found a working way, but maybe there is another option and approach.

1 Like