"Wait" action

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

"Wait" action

Post by MURTUMA » 23 Apr 2013 09:51

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.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: "Wait" action

Post by Martin » 24 Apr 2013 07:33

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).

Locked