Repeat Inside Another Repeat Function

Hi,

I'm planning to create 2 x repeats functions; seems there is no way to do so in Rule Machine? (I'm using Rule Machine 5.0).

The plan is to repeat every 2 hours and inside that repeat, to repeat for every 5 seconds.

There is probably a reason for this restriction but I get around it by using the Run Actions command:

Here is my panic button rule:

...and my Sub Flash Lights Red rule

Note:
I prefix my called Rules with no triggers with Sub for clarity.

4 Likes

Yeah, nested repeats are not allowed. But as @UKMedia advises, you can put the inner repeat in a separate rule, and run it from the first rule. That second rule would not have a trigger event. It's just sort of a subroutine for the first rule.