You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Declarative time_relative trigger: a flow start node declaring config.timeRelative is swept on a schedule (daily by default) and launched once per record whose date field falls in the window (withinDays range / offsetDays T-minus). Ships TimeRelativeTrigger + TimeRelativeTriggerPlugin in @objectstack/trigger-schedule; engine routes the descriptor ahead of the plain schedule trigger; new TimeRelativeTriggerSchema in @objectstack/spec; os validate readiness checks; serve.ts wiring.
Closes#1874
|**object**|`string`| ✅ | Object (machine name) to sweep, e.g. "contracts". |
121
+
|**dateField**|`string`| ✅ | Date or datetime field evaluated relative to today, e.g. "end_date". |
122
+
|**withinDays**|`integer`| optional | Range mode: fire while dateField is within N days of today. Positive = upcoming, negative = overdue lookback, 0 = today. |
123
+
|**offsetDays**|`integer[]`| optional | Offset mode: fire when dateField is exactly today + each offset (e.g. [60, 30, 7]). |
124
+
|**filter**|`Record<string, any>`| optional | Extra ObjectQL where-map ANDed with the date window (e.g. `{ status: "active" }`). |
125
+
|**maxRecords**|`integer`| optional | Max records launched per sweep (default 1000). The sweep logs when it clamps. |
0 commit comments