.
Moderator: Martin
-
- Posts: 31
- Joined: 31 May 2018 09:18
Re: init variable app list
Hi, I want to start another action after the program list is over,
I want to be done in a Flow
How to start another action after completing the program list?
I want to be done in a Flow
How to start another action after completing the program list?
Re: init variable app list
Use the false branch of the loop after it stop. (or true branch if you reverse it). Example true branch continue the loop, while the false branch exit the loop and continue to execute another action.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
-
- Posts: 31
- Joined: 31 May 2018 09:18
Re: .
I want after finish 1
Start 2
After finish 2
Start 3
........
?
Start 2
After finish 2
Start 3
........
?
- Attachments
-
- IMG_20180627_142600.jpg (101.36 KiB) Viewed 16682 times
-
- Posts: 31
- Joined: 31 May 2018 09:18
Re: .
Use the false branch of the loop after it stop. (or true branch if you reverse it). Example true branch continue the loop, while the false branch exit the loop and continue to execute another action.
NO WORK
NO WORK
Re: .
Seems like you are using Automagic magic to do some UI test.
Where did the flow fail? It is after the first group? It seems number 1 has two parallel branches that supposed to be mutually exclusive. If there is one element in one of the branch in number 1 halt, other branch will halt too. Probably you should redesign the number 1 to become a single branch logic, just like the other group.
Where did the flow fail? It is after the first group? It seems number 1 has two parallel branches that supposed to be mutually exclusive. If there is one element in one of the branch in number 1 halt, other branch will halt too. Probably you should redesign the number 1 to become a single branch logic, just like the other group.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
-
- Posts: 31
- Joined: 31 May 2018 09:18
Re: .
Hi
When group 1 finishes, group two does not start
When group 1 finishes, group two does not start
- Attachments
-
- IMG_20180628_132627.jpg (251.71 KiB) Viewed 16634 times
-
- Posts: 31
- Joined: 31 May 2018 09:18
Re: .
Hello, please reply to the previous question. I created an application list. I want to change the action when it comes to a specific application, Is there a way?
- digitalstone
- Posts: 342
- Joined: 21 Oct 2017 12:36
- Location: The Netherlands
Re: .
If it'd be up to me to answer anything... i have a hard time understanding what you're trying to do exactly.
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)
Re: .
When it fail to continue to group 2, what is the error message shown? without error mesage, we never know what have gone wrong.farshadmo368 wrote:Hello, please reply to the previous question. I created an application list. I want to change the action when it comes to a specific application, Is there a way?
Judging by the number of elements, i would say that your flow hit Automagic Emergency stop and disabled immediately. The flow probably didn't even finish the first group's loop. Check the log, or the error message.
If you want the flow to behave differently when it comes to specific value (or application), put that application on another list. Example
exclusion = newList(com.android.chrome, com.whatsapp);
Then use expression to check if the current loop app is in the exclusion list, using containsElement(). If yes, then do some special action for those specific application. If no, continue the common loop branch. I can't put the exact code, as I can't see your whole script (probably too long to post here too).
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.