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.
Both date pins must point to the future
- The
Start atpin must be populated and set to a future date and time. - The
Next runpin must be populated and set to a future date and time. - The value of the
Next runpin must be equal to or greater than theLowest Queuetime 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
Add the block
In a blueprint,
right-clickthe canvas and chooseAdd new block. Search forrepeating eventand select the block in the main groupevents. Therepeating eventblock has two in-pins:Start atfor the first date andNext runfor later ones.Set the start
Right-clickand drag from theStart atpin to add thedate nowblock, the usual starting date. You can give a future date instead.Set the next run
Right-click drag from the
Next runpin onto the canvas. Then disconnect it and left-drag from thedate nowblock to search for an operation such asplus secondsin the date group. Connect that block toNext run.Set the interval
Connect the
Secondsin-pin to acustom numberblock and set it to60.Save and activate
Save the blueprint and press
Activate. A queue item is created for this event, and it executes every60seconds.
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 runpin 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.
