exception example

General discussions about Automagic and automation in general

Moderator: Martin

Post Reply
jphermans
Posts: 31
Joined: 23 Mar 2014 19:25

exception example

Post by jphermans » 22 Apr 2015 20:59

I really like AM because it is simpler then Tasker. The only thing I want to see is an example with the exception connection. Can someone show this?
Thanks.

kamil_w
Posts: 50
Joined: 22 Oct 2013 19:01

Re: exception example

Post by kamil_w » 23 Apr 2015 05:51

Example

Condition: app "com.App.test" running
if yes
Action: turn on wifi

If there is no such application installed at device then flow will end with error.
in this case you can add exception (add new arrow and change its type to exception).
I have used it in such situation:

If screen is going down check if tunein radio is playing. If no then turn off Internet conection. I add to this flow exception (if no tuneup radio on system go forward anyway) as my sister is also using this flow but she doesn't have tunein radio installed at her phone.

jphermans
Posts: 31
Joined: 23 Mar 2014 19:25

Re: exception example

Post by jphermans » 23 Apr 2015 06:19

Thank you for this example. This is a really good function. So I can change some of my flows now.

Post Reply