Timing
A pause.
| Inputs | duration (a duration) |
| Outputs | none — sequencing goes through done |
| Configuration | duration, inputUnit: ms, s (default), min, h |
The box passes no value on: wire what follows onto its done port. Stopping the
run interrupts the wait cleanly.
Wait until
Section titled “Wait until”Waits for a specific moment.
| Inputs | until |
| Outputs | none |
| Configuration | until — an ISO date or an epoch timestamp in milliseconds |
A moment that has already passed triggers immediately.
Emits at a regular interval.
| Inputs | frequency, cron, duration, endDate |
| Outputs | tick — the value emitted is the tick’s index, starting at 0 |
| Configuration | see below |
| Field | Role |
|---|---|
mode | frequency or cron |
frequency + unit | Period (s, min, h) |
cron | A cron expression with 5 or 6 fields |
duration + durationUnit | The timer’s total active duration |
endDate | Stop date |
The done port carries the total number of ticks emitted.
This is the box for light load tests and periodic probes.
The current moment.
| Inputs | none |
| Outputs | value — named now, of string type |
| Configuration | format: datetime (ISO, the default), epoch, string |
This box has no error port.
Date math
Section titled “Date math”Date arithmetic and formatting.
| Inputs | value, amount, other |
| Outputs | result |
op | Effect |
|---|---|
add | Adds amount unit to value |
subtract | Subtracts |
format | Formats according to format |
diff | The gap between value and other, expressed in unit |
unit accepts: milliseconds, seconds, minutes, hours, days, weeks,
months, years.
Maintenant ──► Date-heure (add, 7, days) ──► port dateExpiration de la requêteFor simple formatting inside a text field, the
Handlebars helpers {{now}},
{{timestamp}} and {{formatDate}} are often enough — no box needed.