Forcing onto next workflow step
Moderator: Martin
-
- Posts: 38
- Joined: 09 Aug 2017 07:19
Forcing onto next workflow step
Is there a way in a workflow, that if one controlui task or action finishes early, I can force AM to move onto the next step?
Re: Forcing onto next workflow step
Control UI is just like script, simply use return at the point you want to stop. Everything below the return will be skipped and never executed. You might want to check some condition before using return, probably something like
More about this, can be read at another thread : viewtopic.php?f=4&t=7639#p22496
Use the method 2 and 3.
Code: Select all
if(getTextById("android:id/alertTitle") == "Finished")
return;
Use the method 2 and 3.
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.