# Getting Started - The 'or' and 'else' parts of a flow

**URL:** https://community.homey.app/t/getting-started-the-or-and-else-parts-of-a-flow/20059
**Category:** Tutorials
**Tags:** flow
**Created:** [November 1, 2019, 11:28am UTC](https://community.homey.app/t/getting-started-the-or-and-else-parts-of-a-flow/20059 "2019-11-01T11:28:11Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Neuron44](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/neuron44/32/9492_2.png) [@Neuron44](https://community.homey.app/u/Neuron44)
#### Post date: [November 18, 2019, 8:00am UTC](https://community.homey.app/t/getting-started-the-or-and-else-parts-of-a-flow/20059/4 "2019-11-18T08:00:30Z")

</div>

I think what you are looking for is:

**When**  
Trigger A happened

**And**  
Condition 1 is met  
Condition 2 is met

**Then**  
Execute action x

**Else**  
Execute action z

Like @JPe4619 states, this is explained in the tutorial. But no worries, feel free to ask.

In the flow above, the action x will **only** execute when **both** conditions 1 and 2 are met. If only one is met, or when none is met, action z will execute.

I hope this clarifies things? If it doesn’t, please post printscreens of your flow and tell us what you would like to achieve. We can probably help you.

---

_[View the full topic](https://community.homey.app/t/getting-started-the-or-and-else-parts-of-a-flow/20059)._
