# More than three OR statements in When

**URL:** https://community.homey.app/t/more-than-three-or-statements-in-when/56887
**Category:** Questions & Help
**Created:** [December 20, 2021, 7:06am UTC](https://community.homey.app/t/more-than-three-or-statements-in-when/56887 "2021-12-20T07:06:18Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Robert\_Larsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robert_larsson/32/43192_2.png) [@Robert\_Larsson](https://community.homey.app/u/Robert_Larsson)
#### Post date: [December 20, 2021, 7:06am UTC](https://community.homey.app/t/more-than-three-or-statements-in-when/56887/1 "2021-12-20T07:06:18Z")

</div>

I’m trying to make a flow with more than three OR statements (if any of four windows are open).  
Have you got any suggestions on how to solve this?

Thank you!

---

<div class="post-metadata">

### Author: ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)
#### Post date: [December 20, 2021, 7:20am UTC](https://community.homey.app/t/more-than-three-or-statements-in-when/56887/2 "2021-12-20T07:20:52Z")

</div>

You could invert the conditions in the and section then add the action to the else.

Edit: I have just noticed when sharing the flow the Then section doesn’t show the else line. But in the flow I created, I dragged the action down so it is in the else and there is nothing above it.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/d/8d5a1ce53801330d6e60769ea2b55956a0de0f73.png)

---

<div class="post-metadata">

### Author: ![Edwin\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_d/32/136417_2.png) [@Edwin\_D](https://community.homey.app/u/Edwin_D)
#### Post date: [December 20, 2021, 9:38am UTC](https://community.homey.app/t/more-than-three-or-statements-in-when/56887/3 "2021-12-20T09:38:59Z")

</div>

What I do is put a flownote in the if to explain why I made an inverted flow. Doesn’t do anything but makes it more readable.

---

<div class="post-metadata">

### Author: ![Robert\_Larsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robert_larsson/32/43192_2.png) [@Robert\_Larsson](https://community.homey.app/u/Robert_Larsson)
#### Post date: [December 20, 2021, 3:32pm UTC](https://community.homey.app/t/more-than-three-or-statements-in-when/56887/4 "2021-12-20T15:32:30Z")

</div>

Thank you both for very useful help!
