When I'm using sleep('5m') in 'execute command' action in some flow, all other flows (not only copies of this flow, all automagic flows) are suspending too.
Automagic 1.29.0
Nexus 5, cyanogenmod 12.1
All flows are suspending when using sleep()
Moderator: Martin
Re: All flows are suspending when using sleep()
Hi,
Can you share the flow to demonstrate the issue? I'm not sure what you mean by sleep('5m') within an action 'Execute Command' so I can not reproduce the problem.
Regards,
Martin
Can you share the flow to demonstrate the issue? I'm not sure what you mean by sleep('5m') within an action 'Execute Command' so I can not reproduce the problem.
Regards,
Martin
Re: All flows are suspending when using sleep()
Sorry, it was action 'script'
Start flow1 and then flow2. Flow1 will be stopped until flow2 will be executed
Start flow1 and then flow2. Flow1 will be stopped until flow2 will be executed
- Attachments
-
- FlowsAndLog.zip
- (1.79 KiB) Downloaded 681 times
Re: All flows are suspending when using sleep()
Thanks, I understand it now.
This behavior is by design, only one script can run at a time to avoid concurrency problems. You can move a sleep to its own action 'Sleep' to avoid this problem.
This behavior is by design, only one script can run at a time to avoid concurrency problems. You can move a sleep to its own action 'Sleep' to avoid this problem.