Trigger activated multiple times?

Post your questions and help other users.

Moderator: Martin

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

Trigger activated multiple times?

Post by Econdoc » 03 Oct 2017 22:57

I am looking for a solution to a quirky problem. I have a flow that is triggered by “Disconnect from WiFi.” [It is set up so that processing is “Exit”. That is, if the flow is triggered multiple times, it will exit the newest call.] As a particular wifi location, this flow is triggered again and again as Wifi repeatedly connects and disconnects before a “good” connection is made. I think (but do not know) that the flow is getting triggered again and again at each disconnect. I am sure there is some simple work-around to this issue. Can I disable the trigger to the flow that is currently running and have it continue to execute? If so, how can I do that?

Ideas please?
Thanks,

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

Re: Trigger activated multiple times?

Post by Desmanto » 04 Oct 2017 01:11

If I understand correctly, you want : "if the flow is still running, and there is new trigger, that trigger should be disabled/ignored. Current flow running won't be interrupted."

If yes, you should set the FEP (Flow Execution Policy) to "Skip". More about FEP can be found in my index.
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