# Parallel execution: best practice to always use wait statements?

**URL:** <https://community.homey.app/t/parallel-execution-best-practice-to-always-use-wait-statements/101216>\
**Category:** Questions & Help\
**Created:** [January 15, 2024, 12:40pm UTC](https://community.homey.app/t/parallel-execution-best-practice-to-always-use-wait-statements/101216 "2024-01-15T12:40:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Takie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/takie/32/86573_2.png) [@Takie](https://community.homey.app/u/Takie)\
**Post date:** [January 15, 2024, 12:40pm UTC](https://community.homey.app/t/parallel-execution-best-practice-to-always-use-wait-statements/101216/1 "2024-01-15T12:40:00Z")

</div>

I believe to have read somewhere that Homey has difficulties with multiple parallel executions. Is it advised to always add different amount of wait statements when executing multiple cards at once? E.g.:

 ![Screenshot 2024-01-15 133557](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/f/7f2410e1a137b4290413c99015f091b4f61f9613.png)

---

<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:** [January 15, 2024, 1:18pm UTC](https://community.homey.app/t/parallel-execution-best-practice-to-always-use-wait-statements/101216/2 "2024-01-15T13:18:17Z")

</div>

It depends on the items being controlled. Using old Flows, all actions were executed in parallel and sometimes that would overload the device controller.  
With advance Flows you could daisy chain the actions, in which case they run in series.

---

<div class="post-metadata">

**Author:** ![Takie](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/takie/32/86573_2.png) [@Takie](https://community.homey.app/u/Takie)\
**Post date:** [January 15, 2024, 1:41pm UTC](https://community.homey.app/t/parallel-execution-best-practice-to-always-use-wait-statements/101216/3 "2024-01-15T13:41:17Z")

</div>

Thx. Daisy chaining everything would make it lot more unclear though. So if you prefer to place them below each other instead … is it still best practice to use a different wait statement for each branch?

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [January 16, 2024, 9:18am UTC](https://community.homey.app/t/parallel-execution-best-practice-to-always-use-wait-statements/101216/4 "2024-01-16T09:18:07Z")

</div>

What you’ve read about these problems may be was related acc. a Homey Pro (early 2016 - 2019). So far I have not read of any problems with an HP23.  
And I think there is no general answer. It depends on different things if it will, or if it will not work in parallel. So my recommendation is to try it out by yourself.

**Edit**  
Some more information:

> [@Slow Flow](https://community.homey.app/t/slow-flow/79623/12):
>
> I received some tips from Athom yesterday on how flows work. Maybe it will help you. Since you are using advanced flows, bear this in mind. In normal flows the entire “Then” block of flow cards is fired as fast as possible. So if you need to have a certain order to your commands you have to use delay blocks in normal flows to guarantee the right order. In advanced flows flow cards are always fired sequentially if the flow is constructed that way (which is different from normal flows). The …
