Parallel, Skip, Wait, etc options What do they mean?

Post your questions and help other users.

Moderator: Martin

Post Reply
Econdoc
Posts: 153
Joined: 28 May 2016 20:06

Parallel, Skip, Wait, etc options What do they mean?

Post by Econdoc » 19 Sep 2017 22:44

What are the differences among these "action options"? Examples would be very helpful.
What does the choice of SKIP or WAIT imply? When would I choose SKIP vs PARALLEL? What does one choice do that other does not. Again, examples are the gold standard here!
I have read Desmanto's "How workflow handle multiple" post, but I do not follow it well enough to get the idea. Desmanto's post was about triggers. What about flows? Execute Flows?
I know this is important, but I cannot figure out when (if) to use one option vs. another. :D
Thanks for any help.

User avatar
Bingwu
Posts: 114
Joined: 26 Feb 2016 10:26

Re: Parallel, Skip, Wait, etc options What do they mean?

Post by Bingwu » 20 Sep 2017 09:45

Hello Econdoc!

If I have understood you correctly you are about the "flow execution policy" under "Options" in the flows.
At this point, you specify how Automagic behaves when running a flow a second time while it is already running.

I understand this as follows (... and maybe this is even right ;-))
flow execution policy.png
flow execution policy.png (22.49 KiB) Viewed 12073 times
How you control your flows depends entirely on your flows. "Parallel execution ..." or "Stop the currently executing ..." does not occur in my flows.

Regards
Peter

Econdoc
Posts: 153
Joined: 28 May 2016 20:06

Re: Parallel, Skip, Wait, etc options What do they mean?

Post by Econdoc » 20 Sep 2017 11:34

thanks Peter. excellent answer and very nice graphic.

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Parallel, Skip, Wait, etc options What do they mean?

Post by Desmanto » 20 Sep 2017 16:59

@Bingwu : It is correct already. Since I have typed it, so I will still post my full answer later. I will include you image above to my own documentation. :)

@Econdoc : I actually have a longer explanation at our local forum, but in other language. Now I have more example to include, so I will translate and give more example including analogy. Unfortunately even though I have spent last several hours to typed it, still haven't finish yet. I will just post it tomorrow at flow sharing area, as I have included test flow to help to explain the concept.
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.

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Parallel, Skip, Wait, etc options What do they mean?

Post by Desmanto » 21 Sep 2017 10:25

Finally, it is done. viewtopic.php?f=3&t=6985
Hope it helps.
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.

Post Reply