Dealing with flip-flop triggers
Posted: 16 Nov 2015 19:49
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?
- 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?