Can I connect the input of any component from multiple paths

Hi all,

For example, I have a set of components [SQL query1,SQL query 2] that needs to run on successful execution of IF statement, now if the IF fails then I need to run SQL query 2. 

 

So here, I am not able to connect SQL Query 2 from two paths, that is one from SQL Query 1 and another from the False condition of the IF component. Am I missing anything here. Please help

Interesting question. I thought about this use case and my first idea was to use an "OR" to allow two "inputs" for your SQL Query 2. I tried to connect both the "true" and "false" path for an IF component with an "OR" to connect this with SQL Query 2 but this is blocked by the UI for some reason. Please see the snippet below which is ugly as can be but should do what you try to achieve:

 

Disclaimer: I was too lazy to test this. No clue if the validation step will approve this :wink:

 

Please let me know if it works for you.