Lets say I have a RM rule that has been activated. This rule contains a timer based action, which simply repeats a thing every minute until a specific condition is reached.
So, this rule is actively running, and is paused by another rule. What happens next?
- Does the currently running instance of the rule pause in action? Or does it simply cancel unfinished timers and then prevent further execution when pausing? Or does it continue to it's completion but further execution is paused?
Then, that same rule is later un-paused.
- Will it's previously active timers continue from where they were paused in action? Or, does the rule execution simply un-pause allowing new instances of the rule to be triggered?
My understanding is that if you pause a rule all pending actions are stopped.
When you un-pause the rule nothing happens until it is re-triggered. No previous pending actions will restart.
If someone more knowledgeable knows different, then I will be interested to know as well.
This is the behavior I kinda expect and hope for. Maybe @gopher.ny would be able to confirm?
Glad the question was asked, because I was unsure as well and it would seem I was wrong.
I guess technically this way gives a higher degree of flexibility. To make it work the way you thought (and I wanted for my use case), you'd just need to add a "Cancel Rule Timers" action just before the "Pause Rule" action. This works in my testing.
Thanks for that! I thought that pausing only paused the trigger - good to know it also pauses the actions!
And this is much faster than how I would have found out… by creating a rule, turning on logging, and pausing it to see what it would have done.