# Advanced Flow ALL not triggering

**URL:** <https://community.homey.app/t/advanced-flow-all-not-triggering/70371>\
**Category:** Questions & Help\
**Tags:** advancedflow\
**Created:** [October 13, 2022, 11:09am UTC](https://community.homey.app/t/advanced-flow-all-not-triggering/70371 "2022-10-13T11:09:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gary\_Lane](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gary_lane/32/49965_2.png) [@Gary\_Lane](https://community.homey.app/u/Gary_Lane)\
**Post date:** [October 13, 2022, 11:09am UTC](https://community.homey.app/t/advanced-flow-all-not-triggering/70371/1 "2022-10-13T11:09:29Z")

</div>

Sorry to be a noob but I’m struggling again with an ALL logic in Advanced Flow. In my screen shot you can see two “routes” into an **ALL** block.

If I test the “yellow” block, everything works fine and the line into the **ALL** block lights up.

If I test the “red” block, everything works fine and the line into the **ALL** block lights up.

Because I can’t test multiple triggers simultaneously, I switch to the real world. I have put notifications before the **ALL** block so that I am certain both yellow and red routes in are being triggered, but the **THEN** actions after the **ALL** block are not happening.

I have also tried disconnecting all the other THEN actions and conditions from the yellow block and still nothing.

What am I missing?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/4/048bb287f66ef4e1c46d0309c86750cd5517984e.png)

---

<div class="post-metadata">

**Author:** ![kjeet90](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kjeet90/32/45190_2.png) [@kjeet90](https://community.homey.app/u/kjeet90)\
**Post date:** [October 13, 2022, 11:15am UTC](https://community.homey.app/t/advanced-flow-all-not-triggering/70371/2 "2022-10-13T11:15:37Z")

</div>

You can’t have several triggers to the same all block. A new trigger will fire a new instance of the flow.

---

<div class="post-metadata">

**Author:** ![Gary\_Lane](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gary_lane/32/49965_2.png) [@Gary\_Lane](https://community.homey.app/u/Gary_Lane)\
**Post date:** [October 13, 2022, 3:50pm UTC](https://community.homey.app/t/advanced-flow-all-not-triggering/70371/3 "2022-10-13T15:50:53Z")

</div>

Really? I had really hoped that advanced flows were going to help avoid the need for intermittent variables or virtual switches. It seems not.

Thanks for the education though

---

<div class="post-metadata">

**Author:** ![Gary\_Lane](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gary_lane/32/49965_2.png) [@Gary\_Lane](https://community.homey.app/u/Gary_Lane)\
**Post date:** [October 13, 2022, 4:05pm UTC](https://community.homey.app/t/advanced-flow-all-not-triggering/70371/4 "2022-10-13T16:05:43Z")

</div>

So my follow-up here: why would I use a Virtual Switch over a Yes/No variable and vice-versa? What are the advantages and disadvantages of both approaches?

---

<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:** [October 13, 2022, 4:25pm UTC](https://community.homey.app/t/advanced-flow-all-not-triggering/70371/5 "2022-10-13T16:25:57Z")

</div>

How should multiple triggers be fired absolutely simultaneously? That has nothing to do with AF, that is generally not possible.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [October 13, 2022, 4:31pm UTC](https://community.homey.app/t/advanced-flow-all-not-triggering/70371/6 "2022-10-13T16:31:07Z")

</div>

You can use the Any card for multiple triggers

---

<div class="post-metadata">

**Author:** ![Gary\_Lane](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gary_lane/32/49965_2.png) [@Gary\_Lane](https://community.homey.app/u/Gary_Lane)\
**Post date:** [October 13, 2022, 9:31pm UTC](https://community.homey.app/t/advanced-flow-all-not-triggering/70371/7 "2022-10-13T21:31:36Z")

</div>

No, I wasn’t seeking simultaneous firing.

I had assumed that when “all” the conditions of the all-block were met the flow would continue. This would be consistent with the way the any-block works.

There’s a perfectly legitimate logic to my thinking, but I guess it’s not the same logic used in the design of AF. That’s fine, different approaches and I’ll adjust to what I’m given.

Any suggestions as to the practical difference between using a virtual switch and a variable to store a “state”?
