New user, coming from Llama. Let's say you have 2 flows that trigger on wifi connect and wifi disconnect to a certain network. On fringe areas the signal may be weak so you constantly get the connect/disconnect events. How do you deal with it in Automagic so that:
- a single flow doesn't have multiple instances running at the same time. Just set a global variable that you check at the beginning of the flow and quit if already running and then reset at the end of the flow? Or is there an easier way to say that I only want a singleton instance of a flow at any time?
- in Llama I set a delay before running any actions and after the delay Llama would automatically check the conditions again and if they were no longer true the actions would not be run. Is there a simple way to do this in Automagic or is the answer again to use a variable and then send the flow to check the conditions again?
Dealing with flip-flop triggers
Moderator: Martin
Re: Dealing with flip-flop triggers
Hi,
You can use the flow execution policy to prevent that multiple instances of the same flow are executed at the same time. Open the flow and press menu->Options. You can also add Sleep actions to the flow and recheck the conditions afterwards using a suitable condition within the flow.
Sometimes it's also useful to use action Set Flow State to disable another flow for some time or use action Stop Flows to interrupt another flow.
Regards,
Martin
You can use the flow execution policy to prevent that multiple instances of the same flow are executed at the same time. Open the flow and press menu->Options. You can also add Sleep actions to the flow and recheck the conditions afterwards using a suitable condition within the flow.
Sometimes it's also useful to use action Set Flow State to disable another flow for some time or use action Stop Flows to interrupt another flow.
Regards,
Martin