Help with input dialogue
Moderator: Martin
Help with input dialogue
I have a flow in which I ask the question, do you want to enable wifi? The choices are yes,no. I can get AM to ask that question. But what I have a problem with is doing anything with the answer. I don't know how to move on to the next part of the flow.
In other words, if they answer yes, the flow forks and turns on wifi. If the answer is no, the flow forks and asks a different question.
How do I get AM to recognize the answer from the input dialogue and then get it to move in the right direction?
Obviously, I have no programming experience, as I am sure this is simple to anyone with any programming knowledge. BUT IT IS DRIVING ME CRAZY. I have a super long flow (that I am sure is needlessly long), but with no experience in programming, I am just trying to do my best.
So to reiterate, how do I get a flow to move along a yes path, or no path after the input dialogue question has been answered?
Thank you for any insight.
In other words, if they answer yes, the flow forks and turns on wifi. If the answer is no, the flow forks and asks a different question.
How do I get AM to recognize the answer from the input dialogue and then get it to move in the right direction?
Obviously, I have no programming experience, as I am sure this is simple to anyone with any programming knowledge. BUT IT IS DRIVING ME CRAZY. I have a super long flow (that I am sure is needlessly long), but with no experience in programming, I am just trying to do my best.
So to reiterate, how do I get a flow to move along a yes path, or no path after the input dialogue question has been answered?
Thank you for any insight.
Re: Help with input dialogue
Follow the input dialog with a condition: expression
In the expression, enter
value=="yes"
Save it. Then, if the input was yes, the expression is true. If the input was no, the expression is false. So that is your fork point.
Depending on how your flow is constructed, I'd suggest that you look at the condition "Confirm dialog", which might provide you with a one-step way to do what is otherwise taking you two steps [Action (input dialog) followed by Condition (expression)]. A Confirm dialog allows a simple binary decision, one of which returns true, the other false.
In the expression, enter
value=="yes"
Save it. Then, if the input was yes, the expression is true. If the input was no, the expression is false. So that is your fork point.
Depending on how your flow is constructed, I'd suggest that you look at the condition "Confirm dialog", which might provide you with a one-step way to do what is otherwise taking you two steps [Action (input dialog) followed by Condition (expression)]. A Confirm dialog allows a simple binary decision, one of which returns true, the other false.
Re: Help with input dialogue
Thank you @Scotty. I will look into this!
Re: Help with input dialogue
STUCK IN A LOOP.
So I have a flow (see pic and also link to screen capture video).
It starts with the trigger (Opening my Opera browser). Then, via the Confirm Dialog condition, it asks do I want to launch Wifi. The "Yes" fork then enables wifi, then stops the flow. The "No" fork of the launch Wifi question then asks via the Confirm Dialog condition, if I want to launch my VPN. The "Yes" fork of the VPN question then launches my VPN. The "No" fork uses speech output to say "Shall we play a game".
The problem is, no matter if I answer yes or no, to any question, the flow loops back to the top and asks me if I want to launch wifi. It doesnt matter how many times I touch "yes" or "no", it always starts the flow at the beginning, again, once it reaches the end of any fork in the flow. This is despite the fact that I have a Stop flow at the end of each fork.
Pic is attached. (named "Confirm dialog flow")
Link to video of loop problem: https://www.youtube.com/watch?v=anMlDep6xSQ
Help me please.
P.S. The same loop happens if I use Input Dialog instead of Confirm dialog
P.S.S I am on a ZTE Axon 7 (model #A2017U) running Android 6.0.1
Here is the log:
02.02.2017 02:27:41.057 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031261034,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:27:41.063 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:27:44.112 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:27:44.237 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:44.238 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:27:44.238 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:27:44.258 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:27:44.273 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:44.274 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:44.275 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:44.278 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:27:44.798 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031264792,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:27:44.800 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:27:46.029 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:27:46.049 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:46.050 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:27:46.050 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:27:46.058 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:27:46.058 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:46.058 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:46.059 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:46.060 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:27:46.559 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031266558,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:27:46.560 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:27:47.961 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:27:47.980 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:47.981 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:27:47.981 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:27:48.011 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:27:48.012 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:48.012 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:48.013 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:48.015 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:27:48.493 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031268492,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:27:48.493 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:27:49.733 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:27:49.753 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:49.753 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:27:49.753 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:27:49.778 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:27:49.811 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:49.812 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:49.813 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:49.822 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:27:50.264 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031270262,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:27:50.264 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:27:51.510 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:27:51.527 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:51.527 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:27:51.528 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:27:51.549 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:27:51.550 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:51.550 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:51.556 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:51.559 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:27:52.038 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031272037,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:27:52.038 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:27:53.239 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:27:53.258 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:53.258 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:27:53.258 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:27:53.270 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:27:53.270 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:53.271 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:53.272 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:53.273 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:27:53.770 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031273769,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:27:53.770 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:27:54.973 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:27:54.995 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:54.996 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:27:54.996 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:27:55.044 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:27:55.045 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:55.045 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:55.045 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:55.053 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:27:55.503 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031275502,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:27:55.504 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:27:56.697 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:27:56.716 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:56.716 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:27:56.716 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:27:56.738 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:27:56.784 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:56.785 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:56.786 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:56.789 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:27:57.228 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031277226,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:27:57.228 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:27:58.497 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:27:58.517 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:58.517 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:27:58.518 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:27:58.557 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:27:58.557 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:58.558 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:58.559 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:58.566 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:27:59.027 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031279026,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:27:59.027 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:28:00.203 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:28:00.233 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:00.234 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:28:00.241 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:28:00.288 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:28:00.298 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:00.298 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:00.299 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:00.301 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:28:00.745 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031280744,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:28:00.745 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:28:02.275 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:28:02.294 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:02.294 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:28:02.295 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:28:02.341 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:28:02.341 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:02.341 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:02.342 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:02.344 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:28:02.857 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031282848,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:28:02.860 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:28:04.113 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:28:04.134 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:04.135 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:28:04.136 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:28:04.169 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:28:04.188 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:04.192 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:04.193 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:04.194 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:28:04.644 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031284643,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:28:04.644 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:28:05.835 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:28:05.860 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:05.860 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:28:05.861 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:28:05.900 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:28:05.900 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:05.901 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:05.902 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:05.919 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:28:06.371 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031286370,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:28:06.372 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:28:07.649 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:28:07.666 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:07.666 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:28:07.667 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:28:07.696 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:28:07.698 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:07.698 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:07.710 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:07.712 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:28:08.176 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031288175,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:28:08.176 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:28:09.370 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:28:09.388 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:09.388 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:28:09.389 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:28:09.458 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:28:09.489 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:09.489 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:09.490 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:09.492 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:28:09.901 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031289900,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:28:09.901 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:28:11.116 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:28:11.136 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:11.136 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:28:11.137 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:28:11.150 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:28:11.188 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:11.188 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:11.190 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:11.195 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:28:11.647 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031291646,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:28:11.648 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:28:12.822 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:28:12.840 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:12.840 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:28:12.842 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:28:12.872 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:28:12.873 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:12.873 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:12.874 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:12.884 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:28:13.350 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031293349,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:28:13.351 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:28:14.617 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:28:14.638 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:14.639 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:28:14.639 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:28:14.662 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:28:14.663 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:14.663 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:14.664 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:14.675 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:28:15.150 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031295149,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:28:15.150 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:28:16.303 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:28:16.323 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:16.323 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:28:16.324 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:28:16.335 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:28:16.336 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:16.336 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:16.337 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:16.338 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:28:16.835 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031296834,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:28:16.836 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:28:17.947 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:28:17.968 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:17.968 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:28:17.969 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:28:17.977 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:28:17.991 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:17.993 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:17.994 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:17.997 [Confirm dialogue test] Emergency stop count reached, disabling flow and current flow execution
02.02.2017 02:28:18.053 [Confirm dialogue test] Emergency stop reached, stopping flow execution
So I have a flow (see pic and also link to screen capture video).
It starts with the trigger (Opening my Opera browser). Then, via the Confirm Dialog condition, it asks do I want to launch Wifi. The "Yes" fork then enables wifi, then stops the flow. The "No" fork of the launch Wifi question then asks via the Confirm Dialog condition, if I want to launch my VPN. The "Yes" fork of the VPN question then launches my VPN. The "No" fork uses speech output to say "Shall we play a game".
The problem is, no matter if I answer yes or no, to any question, the flow loops back to the top and asks me if I want to launch wifi. It doesnt matter how many times I touch "yes" or "no", it always starts the flow at the beginning, again, once it reaches the end of any fork in the flow. This is despite the fact that I have a Stop flow at the end of each fork.
Pic is attached. (named "Confirm dialog flow")
Link to video of loop problem: https://www.youtube.com/watch?v=anMlDep6xSQ
Help me please.
P.S. The same loop happens if I use Input Dialog instead of Confirm dialog
P.S.S I am on a ZTE Axon 7 (model #A2017U) running Android 6.0.1
Here is the log:
02.02.2017 02:27:41.057 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031261034,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:27:41.063 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:27:44.112 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:27:44.237 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:44.238 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:27:44.238 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:27:44.258 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:27:44.273 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:44.274 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:44.275 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:44.278 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:27:44.798 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031264792,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:27:44.800 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:27:46.029 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:27:46.049 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:46.050 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:27:46.050 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:27:46.058 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:27:46.058 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:46.058 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:46.059 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:46.060 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:27:46.559 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031266558,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:27:46.560 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:27:47.961 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:27:47.980 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:47.981 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:27:47.981 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:27:48.011 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:27:48.012 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:48.012 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:48.013 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:48.015 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:27:48.493 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031268492,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:27:48.493 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:27:49.733 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:27:49.753 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:49.753 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:27:49.753 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:27:49.778 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:27:49.811 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:49.812 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:49.813 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:49.822 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:27:50.264 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031270262,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:27:50.264 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:27:51.510 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:27:51.527 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:51.527 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:27:51.528 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:27:51.549 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:27:51.550 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:51.550 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:51.556 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:51.559 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:27:52.038 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031272037,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:27:52.038 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:27:53.239 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:27:53.258 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:53.258 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:27:53.258 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:27:53.270 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:27:53.270 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:53.271 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:53.272 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:53.273 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:27:53.770 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031273769,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:27:53.770 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:27:54.973 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:27:54.995 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:54.996 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:27:54.996 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:27:55.044 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:27:55.045 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:55.045 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:55.045 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:55.053 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:27:55.503 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031275502,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:27:55.504 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:27:56.697 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:27:56.716 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:56.716 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:27:56.716 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:27:56.738 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:27:56.784 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:56.785 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:56.786 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:56.789 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:27:57.228 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031277226,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:27:57.228 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:27:58.497 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:27:58.517 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:58.517 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:27:58.518 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:27:58.557 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:27:58.557 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:27:58.558 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:58.559 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:27:58.566 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:27:59.027 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031279026,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:27:59.027 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:28:00.203 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:28:00.233 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:00.234 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:28:00.241 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:28:00.288 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:28:00.298 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:00.298 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:00.299 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:00.301 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:28:00.745 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031280744,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:28:00.745 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:28:02.275 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:28:02.294 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:02.294 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:28:02.295 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:28:02.341 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:28:02.341 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:02.341 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:02.342 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:02.344 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:28:02.857 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031282848,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:28:02.860 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:28:04.113 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:28:04.134 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:04.135 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:28:04.136 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:28:04.169 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:28:04.188 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:04.192 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:04.193 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:04.194 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:28:04.644 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031284643,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:28:04.644 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:28:05.835 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:28:05.860 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:05.860 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:28:05.861 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:28:05.900 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:28:05.900 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:05.901 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:05.902 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:05.919 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:28:06.371 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031286370,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:28:06.372 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:28:07.649 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:28:07.666 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:07.666 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:28:07.667 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:28:07.696 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:28:07.698 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:07.698 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:07.710 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:07.712 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:28:08.176 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031288175,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:28:08.176 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:28:09.370 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:28:09.388 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:09.388 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:28:09.389 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:28:09.458 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:28:09.489 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:09.489 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:09.490 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:09.492 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:28:09.901 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031289900,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:28:09.901 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:28:11.116 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:28:11.136 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:11.136 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:28:11.137 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:28:11.150 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:28:11.188 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:11.188 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:11.190 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:11.195 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:28:11.647 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031291646,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:28:11.648 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:28:12.822 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:28:12.840 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:12.840 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:28:12.842 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:28:12.872 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:28:12.873 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:12.873 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:12.874 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:12.884 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:28:13.350 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031293349,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:28:13.351 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:28:14.617 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:28:14.638 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:14.639 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:28:14.639 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:28:14.662 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:28:14.663 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:14.663 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:14.664 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:14.675 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:28:15.150 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031295149,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:28:15.150 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:28:16.303 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:28:16.323 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:16.323 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:28:16.324 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:28:16.335 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:28:16.336 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:16.336 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:16.337 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:16.338 [Confirm dialogue test] Stop requested, stopping flow execution
02.02.2017 02:28:16.835 [Confirm dialogue test] Starting to execute flow 'Confirm dialogue test' with Context{global{global_battery_level=76},local{flow_name=Confirm dialogue test,trigger=App Task Started: com.opera.browser.beta,triggertime=1486031296834,app_name=Opera beta,package_name=com.opera.browser.beta}}
02.02.2017 02:28:16.836 [Confirm dialogue test] Start executing condition 'Confirm Dialog: Do you want to start Wifi'
02.02.2017 02:28:17.947 [Confirm dialogue test] End executing condition 'Confirm Dialog: Do you want to start Wifi' with return value true
02.02.2017 02:28:17.968 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:17.968 [Confirm dialogue test] Start executing action 'Set WiFi State: On'
02.02.2017 02:28:17.969 [Confirm dialogue test] Action 'Set WiFi State: On' enable = true
02.02.2017 02:28:17.977 [Confirm dialogue test] End executing action 'Set WiFi State: On'
02.02.2017 02:28:17.991 [Confirm dialogue test] Flow continues executing with the next step.
02.02.2017 02:28:17.993 [Confirm dialogue test] Start executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:17.994 [Confirm dialogue test] End executing action 'Stop Flows: Confirm dialogue test'
02.02.2017 02:28:17.997 [Confirm dialogue test] Emergency stop count reached, disabling flow and current flow execution
02.02.2017 02:28:18.053 [Confirm dialogue test] Emergency stop reached, stopping flow execution
- Attachments
-
- Confirm dialog flow.jpg (442.06 KiB) Viewed 23175 times
Re: Help with input dialogue
Hi,
The problem is that Automagic becomes the foreground app when the confirmation dialog is shown so the flow will be executed again when the dialog is hidden and Opera becomes the foreground app again.
You can use menu->Flow execution policy: Skip execution... when editing the flow to avoid this problem. Automagic will not start the flow when the flow is still executing.
Regards,
Martin
The problem is that Automagic becomes the foreground app when the confirmation dialog is shown so the flow will be executed again when the dialog is hidden and Opera becomes the foreground app again.
You can use menu->Flow execution policy: Skip execution... when editing the flow to avoid this problem. Automagic will not start the flow when the flow is still executing.
Regards,
Martin
Re: Help with input dialogue
@Martin, I set the flow execution policy as you said. This did not resolve the issue. It still continuously asks if I want to start WiFi.
Any other suggestions?
Any other suggestions?
Re: Help with input dialogue
You could add a few seconds Sleep action at the end of the flow in case that the flow stops too quickly for Martin's suggestion to work.
Re: Help with input dialogue
Thanks for the suggestion @Murtuma.
If I go to the menu and click EXECUTE flow, it works perfectly. But as soon as I do a real world test (ie, launch my browser to start the flow), it goes into this loop.
It's almost as if AM is not recognizing that Wifi has been set to on, because it keeps asking me if I want to turn on Wifi after I have said yes and after WiFi has been turned on.
It doesn't matter that I have STOP FLOW blocks, SLEEP blocks, or have changed the execution policy.
<FRUSTRATION SETS IN>
If I go to the menu and click EXECUTE flow, it works perfectly. But as soon as I do a real world test (ie, launch my browser to start the flow), it goes into this loop.
It's almost as if AM is not recognizing that Wifi has been set to on, because it keeps asking me if I want to turn on Wifi after I have said yes and after WiFi has been turned on.
It doesn't matter that I have STOP FLOW blocks, SLEEP blocks, or have changed the execution policy.
<FRUSTRATION SETS IN>
Re: Help with input dialogue
I don't see any conditions in the screenshot of your flow that checks if WiFi is already on or not. You could add a condition WiFi State: Enabling, Enabled and show the confirmation dialog only when it's not enabled.
Regards,
Martin
Regards,
Martin
Re: Help with input dialogue
Well Gentlemen, ALL IS WELL. Thank you @Martin. Thank you @Murtuma!!!!
Everything came together. @Martin, I implemented this (You could add a condition WiFi State: Enabling, Enabled and show the confirmation dialog only when it's not enabled), and it worked...Kinda. It worked for most of my flow, but there was a section of the flow that just kept looping. (And oh, the first pick of the flow in this exchange was just a test flow. A simplified version of a flow to work out some kinks.
The real flow is much longer.
Adding you last recommendation @ Martin helped in making most of the flow work. But something was still not working.
I was about to give up and buy the llama automation app.
But then I remembered @Murtuma's suggestion about a SLEEP action that lasted for a few seconds.
I had done that. Added a 7 sec SLEEP action. But that seemed to do nothing.
Then out of Frustration, I decided I was going to more than double that time. So I changed the 7 second SLEEP timer to 16secs. Low and behold, that was the icing on the cake that allowed the whole flow to finally work!!!!
I have no idea why 7 seconds was not enough time. In fact, at 7 seconds, the flow actually acted like that time constraint was not there, and instead of holding for 7 secs, it would, within 1 sec, move to the next block. Weird.
Anyway. The flow works now. It is a simple flow, just long.
THANK YOU @Martin and @Murtuma (and also @Scotty for chiming in).
P.S. most of the problems of looping occurred whenever I answered "No" to the confirm dialog question.
Everything came together. @Martin, I implemented this (You could add a condition WiFi State: Enabling, Enabled and show the confirmation dialog only when it's not enabled), and it worked...Kinda. It worked for most of my flow, but there was a section of the flow that just kept looping. (And oh, the first pick of the flow in this exchange was just a test flow. A simplified version of a flow to work out some kinks.
The real flow is much longer.
Adding you last recommendation @ Martin helped in making most of the flow work. But something was still not working.
I was about to give up and buy the llama automation app.
But then I remembered @Murtuma's suggestion about a SLEEP action that lasted for a few seconds.
I had done that. Added a 7 sec SLEEP action. But that seemed to do nothing.
Then out of Frustration, I decided I was going to more than double that time. So I changed the 7 second SLEEP timer to 16secs. Low and behold, that was the icing on the cake that allowed the whole flow to finally work!!!!
I have no idea why 7 seconds was not enough time. In fact, at 7 seconds, the flow actually acted like that time constraint was not there, and instead of holding for 7 secs, it would, within 1 sec, move to the next block. Weird.
Anyway. The flow works now. It is a simple flow, just long.
THANK YOU @Martin and @Murtuma (and also @Scotty for chiming in).
P.S. most of the problems of looping occurred whenever I answered "No" to the confirm dialog question.
- Attachments
-
- Browser_WiFi_VPN-flow.jpg (624.49 KiB) Viewed 23095 times