Page 1 of 1

Help to modify flow

Posted: 19 Feb 2015 16:55
by Rehan Iqbal
http://automagic4android.com/flow.php?i ... 9a60f52b68

This is my flow for turning the phone to silent mode when face is down. Can anyone help me how to modify the flow to get back to normal mode after the call has ended.

Re: Help to modify flow

Posted: 19 Feb 2015 20:13
by Martin
Hi,

Create a flow like this:
Normal when call ends
-trigger Incoming Call: Ended
-action Set Ringer Mode: Normal

You can also enable this flow only when the other flow turns on silent mode. To do this you can use an action Set Flow State: Enable Normal when call ends. The flow can also turn itself off when it finished:
Normal when call ends
-trigger Incoming Call: Ended
-action Set Ringer Mode: Normal
-action Set Flow State: Disable Normal when call ends

Another way would be to create a loop in your flow and switch to normal mode when condition Call State: Idle is true.

Regards,
Martin

Re: Help to modify flow

Posted: 20 Feb 2015 19:05
by Rehan Iqbal
Martin wrote:Hi,

Create a flow like this:
Normal when call ends
-trigger Incoming Call: Ended
-action Set Ringer Mode: Normal

You can also enable this flow only when the other flow turns on silent mode. To do this you can use an action Set Flow State: Enable Normal when call ends. The flow can also turn itself off when it finished:
Normal when call ends
-trigger Incoming Call: Ended
-action Set Ringer Mode: Normal
-action Set Flow State: Disable Normal when call ends

Another way would be to create a loop in your flow and switch to normal mode when condition Call State: Idle is true.

Regards,
Martin
Thanks Martin for taking out your time. I m not that much expert in developing professional flow. Up there is my flow can u please check out the flow and modify the flow that will be great.

Regards
Rehan

Re: Help to modify flow

Posted: 20 Feb 2015 19:33
by Martin
I've imported your flow but did not entirely understand what the goal of your main flow is.
Could you explain what you want to achieve and in what situation you would like to return the ringer mode to normal? Do you want to always return to ringer mode normal when the call ends?

Regards,
Martin

Re: Help to modify flow

Posted: 26 Feb 2015 18:26
by Rehan Iqbal
Thanks Martin.
Yup i want Ringer Mode to be normal aftwr the call ends.

Regards
Rehan