Help to modify flow

Post your questions and help other users.

Moderator: Martin

Post Reply
Rehan Iqbal
Posts: 20
Joined: 07 Aug 2014 14:48

Help to modify flow

Post by Rehan Iqbal » 19 Feb 2015 16:55

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.

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

Re: Help to modify flow

Post by Martin » 19 Feb 2015 20:13

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

Rehan Iqbal
Posts: 20
Joined: 07 Aug 2014 14:48

Re: Help to modify flow

Post by Rehan Iqbal » 20 Feb 2015 19:05

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

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

Re: Help to modify flow

Post by Martin » 20 Feb 2015 19:33

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

Rehan Iqbal
Posts: 20
Joined: 07 Aug 2014 14:48

Re: Help to modify flow

Post by Rehan Iqbal » 26 Feb 2015 18:26

Thanks Martin.
Yup i want Ringer Mode to be normal aftwr the call ends.

Regards
Rehan

Post Reply