Page 1 of 1
Asynchronous sleep
Posted: 13 Jan 2014 08:28
by mathieson
Hello,
Is there such a suing as asynchronous sleep in automatic?
For example... Can I run the attached flow with just 1 sleep command somehow?
Re: Asynchronous sleep
Posted: 13 Jan 2014 09:48
by MURTUMA
From the layout of the flow I assume you want to have a sleep action after/before each action on the left? If that's the case, you have to put each sleep action on the same path.
In your flow, those sleep actions equal 0.04s. Each of them executes right after another. Also, any sleep action stops the whole from running, not just the path they're on.
Re: Asynchronous sleep
Posted: 13 Jan 2014 15:15
by mathieson
Murtuma,
Thanks for the reply. That is exactly what I do not want, the sleep action to stop the whole from running, I want to know if there is a "sleep and continue execution" type of action?
Thanks.
Re: Asynchronous sleep
Posted: 13 Jan 2014 15:57
by mathieson
Ok, I "solved it" by simply putting the same number of steps on all three conditions, this way I believe it will always get to the end at the same time.
Here it is in case anyone is interested.
Re: Asynchronous sleep
Posted: 13 Jan 2014 18:33
by MURTUMA
There's no point trying to make different paths asynchronous and with your method it's not even possible. Actions does their own things without acknowledging anything else and different actions take different amount of time to accomplish. The thing is that assuming all of the three conditions are true, the last branch runs three times.
What kind of logic are you trying to achieve with the first three conditions? AND, OR or something else?
Re: Asynchronous sleep
Posted: 26 Jan 2014 22:42
by guuzendesu
I'm rather new at this, but I saw this and was intrigued. I did a little test script and I found that it seems the different branches execute in the order they are attached to the previous action/trigger. I don't know if that would help anything, but I found it interesting. I just made two different branches with input boxes, ran the script and the box that would pop up first was the first one attached. It changed when I deleted the first connecting line and drew a new one in the same place.
Probably already known but maybe not by everyone. Ok, maybe just me.
