Stop Actions: what does it do exactly?

Let say I have something like the following in a rule (Actions for True):

If a=b then
do something
else
do something else
Stop Actions: ** This Rule **
end if
Notify PushOver "some text"

When this rule get triggered, I get Notified by Pushover (I should not).

What exactly is "Stop Actions" supposed to do?
Because it looks like it's just exiting the If-then-else-Endif and continue with the next command...

If so, is there a way to exit the rule completely (and I cannot use Cancel on Truth Change).

Thanks for your help.

Stop Actions - will stop any delayed/repeating action, it doesn't stop the script which I think is what you were expecting it to do.

Usually I would put it in the false actions or if it's a triggered rule it would be in another rule that stops the actions of the first rule.

I may be wrong in my interpretation, but that's how I use and it seems to work as expected for me.

It would be a good idea to add a "Quit" or "Cancel" command because sometimes "Cancel on truth change" is not a solution.

Man, do I miss the good old "Go To ..." :slight_smile:

2 Likes