Routing node - Business Hours
Introduction
Note
Only one Otherwise rule is allowed per node. If multiple Otherwise rules are added, only the first one will be used.
Configuration
| Setting | Description |
|---|---|
| Timezone | Determines which timezone is used when evaluating the schedule rules. By default UTC is used when left empty. Start typing to filter available timezones via autocomplete, or click the dropdown button to browse all available timezones. |
| Time | The reference time used for evaluating rules. By default the message timestamp is used (Message timestamp). You can also select a time value from a message property or from flow/global context. |
| Business Hours |
The list of rules for this node. Each rule can be one of the following types:
Rules are evaluated from top to bottom. Use the drag handles to reorder them. |
| Stop on first match | When enabled, only the first matching rule produces output and evaluation stops. When disabled, the message is forwarded to every rule that matches, potentially producing output on multiple ports simultaneously. |
Validation
Each Schedule rule must have at least one day of the week selected, and the end time must be strictly after the start time. Invalid rules are highlighted in the editor and will block deployment until corrected. Overnight time spans (e.g. 22:00–02:00) are not supported; use two separate rules instead.
Output
The incoming message is forwarded unchanged to the matching output port(s). If Stop on first match is disabled and multiple schedule rules match, independent copies of the message are sent to each matching port.
Note
If no schedule rule matches and no Otherwise rule is configured, the message is dropped silently.
