Repeating Events

A repeating event runs a flow at an interval you set, starting from a date you set. The shortest interval depends on your license, and can be as short as a second. Set both date pins, and activate the blueprint.

Each run queues the next one

A repeating event works like setInterval() in JavaScript or crontab in Linux, except that you specify a starting date. When the block executes, it evaluates its Next run in-pin and uses the result to create a new event in the queue.

  • You can see the scheduled repeating events in the queue overview of the cluster.
  • The system checks whether the event is still active when the blueprint is activated or deactivated.
  • The flow runs at the specified time, within the maximum concurrent queue limit of your license. With more queue items running, it is postponed automatically.
repeating block
A repeating event block running now and after 30 seconds again
A repeating event block running now and after 30 seconds again

Both date pins must point to the future

  • The Start at pin must be populated and set to a future date and time.
  • The Next run pin must be populated and set to a future date and time.
  • The value of the Next run pin must be equal to or greater than the Lowest Queue time in your license.

A queue item stops executing once it reaches the maximum Execution Time in the license.

Create one that runs every 60 seconds

  1. Add the block

    In a blueprint, right-click the canvas and choose Add new block. Search for repeating event and select the block in the main group events. The repeating event block has two in-pins: Start at for the first date and Next run for later ones.

  2. Set the start

    Right-click and drag from the Start at pin to add the date now block, the usual starting date. You can give a future date instead.

  3. Set the next run

    Right-click drag from the Next run pin onto the canvas. Then disconnect it and left-drag from the date now block to search for an operation such as plus seconds in the date group. Connect that block to Next run.

  4. Set the interval

    Connect the Seconds in-pin to a custom number block and set it to 60.

  5. Save and activate

    Save the blueprint and press Activate. A queue item is created for this event, and it executes every 60 seconds.

When an event does not seem to run

  • It ran too fast to notice. Rapid execution can make it look as if nothing happened.
  • The blueprint is not active. You may have forgotten to activate it after creating the event.
  • The Next run pin is wrong. When it does not meet the date and time requirements, the system can cancel the event.

Next steps

Queue How queue items run, and how to monitor them. Locking and Concurrency Keep a run that outlasts its interval from overlapping the next.

Frequently asked

How do I run a RUAL flow on a schedule?

Use the schedule_repeating_event block, which works like setInterval or crontab. Its Start At pin sets the initial run and its Next Run pin schedules the following one: when the block executes, it creates a new event in the queue for the next run.

Why is my RUAL repeating event not executing?

The usual causes are that the blueprint was never activated after the event was created, or that the Next Run pin is not filled with a future date and time, which lets the system cancel the event. Both Start At and Next Run must hold future dates, and Next Run must respect the lowest queue time of your license.

How often can a RUAL repeating event run?

The minimum frequency depends on your license, with the potential to run as often as every second. Execution is subject to the license's maximum concurrent queue limit, excess items are automatically postponed, and a queue item stops once it reaches the maximum execution time.