# Performance/resource use of an advanced flow

**URL:** <https://community.homey.app/t/performance-resource-use-of-an-advanced-flow/68336>\
**Category:** Flows\
**Tags:** advancedflow\
**Created:** [September 2, 2022, 5:17pm UTC](https://community.homey.app/t/performance-resource-use-of-an-advanced-flow/68336 "2022-09-02T17:17:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ArnarS](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnars/32/33981_2.png) [@ArnarS](https://community.homey.app/u/ArnarS)\
**Post date:** [September 2, 2022, 5:17pm UTC](https://community.homey.app/t/performance-resource-use-of-an-advanced-flow/68336/1 "2022-09-02T17:17:49Z")

</div>

Hi.

I am building an advanced flow with a start-tag, with several ‘lines’.

I basically have two options:  
A: Each line has its own start trigger followed by an AND to check the content of ‘Start-value’  
B: There is one start trigger, followed by ‘ANY’ which branches to several different ‘AND’ to check 'Start-value

I would think B would show better performance/use less resources.

But I could be wrong, so before I do this all over the place, I think I need a 2nd opinion.

best regards,  
Arnar

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [September 2, 2022, 7:09pm UTC](https://community.homey.app/t/performance-resource-use-of-an-advanced-flow/68336/2 "2022-09-02T19:09:07Z")

</div>

It will make no difference I think. It depends on the amount of affected cards to run through.

So if each trigger will have its own different condition check, then make single lines with trigger-condition.

If the condition check is the same for all independent of the trigger, then connect all trigger to a ANY card and arrange the condition behind the ANY card.
