# Can I connect the input of any component from multiple paths

**URL:** <https://matillioncommunity.discourse.group/t/can-i-connect-the-input-of-any-component-from-multiple-paths/1398>\
**Category:** Matillion ETL\
**Created:** [August 12, 2021, 3:00am UTC](https://matillioncommunity.discourse.group/t/can-i-connect-the-input-of-any-component-from-multiple-paths/1398 "2021-08-12T03:00:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aa237433](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@Aa237433](https://matillioncommunity.discourse.group/u/Aa237433)\
**Post date:** [August 12, 2021, 3:00am UTC](https://matillioncommunity.discourse.group/t/can-i-connect-the-input-of-any-component-from-multiple-paths/1398/1 "2021-08-12T03:00:44Z")

</div>

Hi all,

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

&nbsp;

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

---

<div class="post-metadata">

**Author:** ![Michael](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@Michael](https://matillioncommunity.discourse.group/u/Michael)\
**Post date:** [August 16, 2021, 2:54pm UTC](https://matillioncommunity.discourse.group/t/can-i-connect-the-input-of-any-component-from-multiple-paths/1398/2 "2021-08-16T14:54:24Z")

</div>

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:

&nbsp;

 ![0694G00000FYLFbQAP_0D74G000007jX4iSAE](https://us1.discourse-cdn.com/flex002/uploads/matillioncommunity/original/1X/bd1d24ddd12debb1e0543f19d972898ff1ddb455.png)

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

&nbsp;

Please let me know if it works for you.
