Type identifier:
data:recurrenceCategory: Data Operations
Works with the value of a recurrence field, such as "weekly on Monday, Wednesday and Friday at 5:00 PM". Depending on its mode, the node lists the occurrences in a date range, finds the next or previous occurrence, or checks whether a date/time falls on an occurrence.
Use it to turn a schedule into concrete date-times, for example to create one Delivery per run of a truck in a given week.
The input handles depend on the mode.
Handle | Data Type | Required | Mode | Description |
|---|---|---|---|---|
|
| Yes | All | The recurrence to work with |
|
| Yes |
| Start of the range, inclusive |
|
| Yes |
| End of the range, inclusive |
|
| No |
| Find the first occurrence at or after this date/time. Defaults to now |
|
| No |
| Find the last occurrence at or before this date/time. Defaults to now |
|
| Yes |
| The date/time to check |
recurrencerecurrenceNotes:
start, end, after, before, dateTime)date, with or without a timeNotes:
end is inclusive, a start of 2026-10-12 and an end of 2026-10-18 cover 12 October to the start of 18 October; use 2026-10-18T23:59:59 to include all of the 18thHandle | Data Type | Mode | Description |
|---|---|---|---|
|
|
| The occurrences from |
|
|
| The occurrence found, or |
|
|
| Whether |
occurrencesNotes:
occurrencenullnull when the recurrence has ended (by count or until) before the bound, or has not started by itincludesbooleanNotes:
duration, true only at the exact occurrence date-timeduration, true from the start of an occurrence up to, but not including, its endProperty | Type | Required | Default | Description |
|---|---|---|---|---|
|
| Yes |
| Display label for the node |
|
| No |
| What to compute. Shown as Find in Studio |
modeValue | Studio label | Inputs | Output |
|---|---|---|---|
| Occurrences between |
|
|
| Next occurrence |
|
|
| Previous occurrence |
|
|
| Includes date/time |
|
|
Changing the mode changes the node's handles; connections to handles that no longer exist are removed.
recurrence input and checks that it is a valid recurrenceThe node is computed when a connected node needs its output.
Occurrences keep the recurrence's wall-clock time across daylight-saving changes: a rule at 5:00 PM in Australia/Melbourne is 5:00 PM local time on both sides of a change. For a rule without a start date, see Rules without a start date.
Scenario | Behaviour |
|---|---|
A required input is not connected | Fails with |
| Fails with |
| Fails with |
| Fails with |
A required date/time input is empty | Fails with |
A date/time input is not a date/time | Fails with |
The range needs more than 10,000 expansion steps (for example, a minutely rule over several years) | Fails with "The recurrence has too many occurrences to expand here; narrow the date range" |
{
"type": "data:recurrence",
"data": {
"label": "This Week's Runs",
"mode": "between"
}
}Connect a Truck Schedule Record's Schedule field to recurrence, and the start and end of the week to start and end (for example 2026-10-12 and 2026-10-18T23:59:59). For a schedule of "weekly on Monday, Wednesday, Friday at 5:00 PM" in Australia/Melbourne and the week of 12 October 2026, occurrences is:
[
"2026-10-12T17:00:00+11:00[Australia/Melbourne]",
"2026-10-14T17:00:00+11:00[Australia/Melbourne]",
"2026-10-16T17:00:00+11:00[Australia/Melbourne]"
]Connect occurrences to a List - Map node and create one Record per occurrence inside it.
{
"type": "data:recurrence",
"data": {
"label": "Next Run",
"mode": "next"
}
}Leave after unconnected to find the next occurrence from now.
{
"type": "data:recurrence",
"data": {
"label": "Is Open",
"mode": "includes"
}
}For a recurrence such as "weekdays at 9:00 AM" with a duration of PT8H, includes is true from 9:00 AM until 5:00 PM on weekdays. Connect it to Control - If to branch.