Condition for app ended or not running?
Posted: 25 Mar 2013 00:09
Is this handled in a way I am not finding, or can it be added?
So are you saying one would need to call another flow to do this within another flow?Martin wrote:You can try to use Trigger App Task Ended to trigger when an app is moved to the background.
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.Martin wrote:You can also use a condition App Task Running to check it in a 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.MURTUMA wrote: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.Martin wrote:You can also use a condition App Task Running to check it in a condition.
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.