Would it be possible to implement some kind of wait-action to the flows?
You could use it before condition check and that would essentially turn the condition into trigger. When flow runs into wait-action it would stop the flow until the condition fulfills. That would make many of the loop checks and multi-flow chains obsolete.
Ie: when opening map application, you want to turn GPS on automagically. If you want GPS to turn off automagically, you have to make either another flow or loop to check when you exit map.
"Wait" action
Moderator: Martin
Re: "Wait" action
I can see the utility of such an option and I will think about it some more but it's unlikely that I will add this possibility since such looping constructs should be avoided whenever possible (uses CPU, keeps the device awake etc.).
It is better to use a trigger for such cases when possible (like App Task Started/Ended) or use a flow with trigger Periodic Timer to periodically check some conditions (without waking the device if possible).
It is better to use a trigger for such cases when possible (like App Task Started/Ended) or use a flow with trigger Periodic Timer to periodically check some conditions (without waking the device if possible).