Scheduled Alerts
Summary
- Scheduled Alerts fire at a date and time you configure
- The Schedule can be either a one off, or on a recurring cron
- Schedules are defined as specialised Scheduled Alert Definitions with a
Scheduleinstead of a Rule
Scheduled Alerts notify users when a schedule fires.
Unlike the other AdapTable Alert types, they do not watch grid data, rules, or cell changes.
Hint
- Scheduled Alerts are ideal to use as reminders or operational prompts
- e.g. to prompt users to run an end-of-day report or review a dashboard at the same time each weekday
Scheduled Alerts use a Schedule model which can be configured in 2 ways (same as scheduled reports):
- Recurring — a
CronExpressionusing a 5-field cron (e.g.30 17 * * 1-5for 17:30 on weekdays) - One-off — a single run at a specified ISO datetime
Note
- After a one-off Alert fires, it is not auto-suspended
- You can edit the
RunAtproperty to run the Alert again, or suspend/delete the definition in the Alert UI
You can configure a Scheduled Alert to behave like any other Alert, including:
- displaying a Toast Notification
- updating the Alert UI controls: Toolbar, Tool Panel and Status Bar Panel
- logging to the console
- displaying a System Status message
Caution
- Some of the behaviour available in other Alerts are not relevant to Scheduled Alerts (and are hidden in the UI)
- For instance behaviours relating to highlighting or jumping to Cells or undoing a Cell edits are removed
- This example provides two Scheduled Alert definitions in Alert Initial State:
- Daily stand-up reminder — recurring cron (
0 9 * * *) so the Alert runs every day at 09:00 - One-off demo Alert — runs once about 2 minutes after the demo loads (
RunAtis computed when the sandpack starts)
- Daily stand-up reminder — recurring cron (
- Wait ~2 minutes after load for the one-off toast (or check System Status / Alert panel)
- Edit the daily alert’s cron (e.g. change hour/minute) or suspend the one-off before it fires
Configuring Scheduled Alerts
Scheduled Alerts are defined, and persisted, in the Alert section of Adaptable State.
Deep Dive
Anatomy of a Scheduled Alert
Developer Guide
Providing Scheduled Alerts in Initial State
Shared Alert Definitions are Alers which must include Schedule (instead of Rule / Scope).
const initialState: InitialState = {
Alert: {
AlertDefinitions: [
{
Name: 'End of day reminder',
MessageHeader: "Run 'End of Day' report",
MessageText: 'Send the report to Middle Office',
MessageType: 'Warning',
AlertProperties: {
DisplayNotification: true,
DisplaySystemStatusMessage: true,
},
Schedule: {
IsOneOff: false,
CronExpression: '30 17 * * 1-5',
},
},
{
Name: 'One-off check',
MessageHeader: 'Review figures',
MessageText: 'Please confirm today’s numbers before close',
MessageType: 'Info',
AlertProperties: {
DisplayNotification: true,
},
Schedule: {
IsOneOff: true,
RunAt: '2026-05-19T17:30:00.000Z',
},
},
],
},
};Scheduled Alerts live alongside rule-based Alerts in the same array. AdapTable distinguishes them by the presence of Schedule.
Name— unique Alert nameMessageHeader/MessageText— shown when the Alert fires (required for Scheduled Alerts in the UI)MessageType—Info,Success,Warning, orError(controls colour and icon)AlertProperties.DisplayNotification— whether to show a toast when the schedule firesAlertProperties.IncludeSuspendButton— when true, the notification includes OK and Suspend buttons (otherwise OK only)
Set Schedule.IsOneOff to false and provide CronExpression.
Example: 30 17 * * 1-5 runs at 17:30 on weekdays.
Set Schedule.IsOneOff to true and RunAt to an ISO datetime (local time).
Hint
For a one-off Alert / reminder at design time that fires soon after the grid loads (e.g. in a demo), compute RunAt dynamically (as we do in the demo above)
Managing Scheduled Alerts
You can view active (and suspended) Scheduled Alerts in the Alert settings section of the Settings Panel.
Options include:
- Create or Edit a Scheduled Alert using the Alert Wizard (set message, schedule and behaviour)
- Suspend / Unsuspend — pauses scheduling without deleting the definition (
IsSuspended) - Delete — removes the Alert Definition and cancels its timers
UI Step by Step Guide
Creating a Scheduled Alert in the Alert Wizard
FAQ
How is a Scheduled Alert different from a rule-based Alert?
Rule-based Alerts include Scope and Rule and fire when data matches.
Scheduled Alerts include only Schedule and fire at the configured time.
Can I still use the old Reminder objects in Schedule Initial State?
No. Reminders were replaced in Version 23.0 with Scheduled Alert Definitions.
Use Schedule with CronExpression / RunAt instead of DaysOfWeek, Hour, and Minute.
What happens after a one-off Scheduled Alert fires?
The Alert runs once. It stays in state until you suspend, delete it, or change RunAt to a future time.
Why does the UI Wizard not show Trigger or Rule for Scheduled Alerts? Those steps apply only to data-driven Alert types. Scheduled Alerts have no column scope or expression and so the steps have been removed.
Can I suspend a Scheduled Alert from inside the notification so it won't run again?
Yes, if you enable Display Notification and set AlertProperties.IncludeSuspendButton to true (or enable Include Suspend button in the Alert Wizard).