Page 1 of 1

Condition for app ended or not running?

Posted: 25 Mar 2013 00:09
by InTheRough
Is this handled in a way I am not finding, or can it be added?

Re: Condition for app ended or not running?

Posted: 25 Mar 2013 09:48
by Martin
You can try to use Trigger App Task Ended to trigger when an app is moved to the background.

Re: Condition for app ended or not running?

Posted: 25 Mar 2013 10:19
by MURTUMA
Me too. :)

I'd like to see NOT RUNNING trigger because it would eliminate a lot of loops using sleep action. Some things are just not possible or feasible enough to archieve with only task ended condition/trigger.

Re: Condition for app ended or not running?

Posted: 28 Mar 2013 01:10
by InTheRough
Martin wrote:You can try to use Trigger App Task Ended to trigger when an app is moved to the background.
So are you saying one would need to call another flow to do this within another flow?

Re: Condition for app ended or not running?

Posted: 28 Mar 2013 10:29
by Martin
You can also use a condition App Task Running to check it in a condition.

Re: Condition for app ended or not running?

Posted: 29 Mar 2013 10:57
by MURTUMA
Martin wrote:You can also use a condition App Task Running to check it in a condition.
From what I have seen, it only detects an app currently running in foreground. Ie. I made a flow to turn GPS on when opening map application and turn it off respectively. As it turns out, if I leave the map to home screen the flow stops recognizeing the map is still running and turns GPS off.

That can be fixed with a little loop to check if I return to map within predefined time period, but it would be much more convenient with properly working NOT RUNNING trigger or condition.

Re: Condition for app ended or not running?

Posted: 01 Apr 2013 17:08
by InTheRough
MURTUMA wrote:
Martin wrote:You can also use a condition App Task Running to check it in a condition.
From what I have seen, it only detects an app currently running in foreground. Ie. I made a flow to turn GPS on when opening map application and turn it off respectively. As it turns out, if I leave the map to home screen the flow stops recognizeing the map is still running and turns GPS off.

That can be fixed with a little loop to check if I return to map within predefined time period, but it would be much more convenient with properly working NOT RUNNING trigger or condition.
This is one I have worked on as well. I have the same experience, if the map is not the foreground app, GPS gets turned off.