What it does
Wait Until DateTime pauses the current workflow path until a specific absolute DateTime. It can instead finish with a local timeout or an explicit cancellation request supplied before the block starts.
When to use it
Use this block when a workflow must continue at a known instant, such as the start of a scheduled handover. Use Wait / Delay when only a relative duration matters.
Inputs
- Target DateTime — Required valid DateTime. Create or parse it with an selected time zone before connecting it.
- Timeout Milliseconds — Optional whole number from
0through3,600,000. The field defaults to five minutes. A target farther away returnsTimed Outafter this duration. - Cancel Requested — Optional boolean.
trueskips the timer and returnsCancelledimmediately.
Outputs
- Fire — Continues after a reached target, local timeout, or pre-run cancellation request.
- Target DateTime — The validated target supplied to the block.
- Reached —
truewhen the target was already late or occurred within the local timeout. - Timed Out —
truewhen the local timeout elapsed before the target. - Cancelled —
trueonly when Cancel Requested was alreadytrueat execution.
Time zones and late runs
DateTime values identify an exact UTC instant, so daylight-saving overlaps and missing local times must be resolved by the block that creates or parses the value. A target at or before the block's current clock completes immediately with Reached = true.
Cancellation and limits
The block waits only while the current workflow is running and does not create a background timer. Manual workflow cancellation, object deadlines, and workflow deadlines stop execution through the normal highlighted error path and do not emit outputs. The local timeout does not extend those deadlines; Nodestly's current default object deadline is also five minutes. Use a scheduler or resumable workflow feature for long-term waiting when that feature becomes available.
Exact settings reference
These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.
| ID | Setting | Control | Default | Bounds/options |
|---|---|---|---|---|
timeoutMilliseconds | Timeout Milliseconds | number | 300000 | — |
Errors and recovery
When this block reports an error, no downstream output is emitted. Correct the highlighted input or setting described by the message, then run the workflow again. If the timer cannot start even though Target DateTime and Timeout Milliseconds are valid, update Nodestly and the Wait & Timing official add-on, restart Nodestly, and rerun the workflow. If the same correctly configured block still fails, report the highlighted Wait Until DateTime block as a product defect.
Connector data types
The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.
| Direction | Connector | Type | Required |
|---|---|---|---|
| Input | targetDateTime — Target DateTime | datetime | yes |
| Input | timeoutMilliseconds — Timeout Milliseconds | number | no |
| Input | cancelRequested — Cancel Requested | boolean | no |
| Output | result — Target DateTime | datetime | on success |
| Output | reached — Reached | boolean | on success |
| Output | timedOut — Timed Out | boolean | on success |
| Output | cancelled — Cancelled | boolean | on success |
