# Manage notification rules

How to create, edit, override, activate, and remove notification rules with several actions, device types, and severity in group scope, including rules for device outages and scheduled checks with summary notifications.

Audience: [Device manager](/help/by-role/device-manager/)

## Who is this for

Device managers who need to be notified when devices in a group report a defined state.

## Outcome

You can create and maintain a rule that watches one or more device types, has a severity, and sends one or more notifications when the alert starts, repeats, or is resolved.

## Before you start

- You are signed in.
- Correct group is selected.
- You have rule read rights for the current group. Additional create, update, or delete rights enable the matching actions.
- When a rule is evaluated depends on its trigger, which you select in Conditions:
  - Device message: every time a device in its scope sends a new message.
  - No device message: once an hour.
  - Scheduled check: on the days and at the time you select.

## Steps

1. Open Groups > Notifications > Rules.
2. Review the rules table:
  - Including subgroups icon, shown when the rule also applies to subgroups. It is highlighted for rules owned by the current group and gray for rules inherited from a parent group.
  - Name, with a line below it that says what the rule watches:
    - a rule started by a device message shows its conditions for each device type, for example "Thermometer: Temperature is greater than 30 °C";
    - a No device message rule shows Days without a message with the number of days;
    - a Scheduled check rule shows its days, time, and timezone, followed by its conditions.
    A long line is shortened to two lines; point at it to read it in full.
  - Severity, shown as a colored badge: Information (green), Warning (orange), Critical (red).
  - Active toggle.
  - Notification channels, one icon for each action of the rule.
3. Use the actions allowed by your group rights:
  - With read-only access, the rules table is visible without row actions.
  - Add rule requires create rights.
  - Edit and the Active toggle require update rights and apply only to rules owned by the current group.
  - Override requires update rights and is offered for a rule inherited from a parent group. It changes only device selection and recipients for the current group.
  - Delete requires delete rights, applies only to rules owned by the current group, and asks for confirmation.
4. Select Add rule, or Edit on an existing rule, and fill the sections of the rule editor. The numbered section bar at the top jumps to Basics, Devices, Conditions, and Actions.

Section 1: Basics
1. Enter the rule Name.
2. Select Severity: Information, Warning, or Critical.
3. Select Locale, the language used for values inserted into notification texts.
4. Select Timezone:
  - Current device timezone, or
  - one fixed timezone.
  The selected timezone is used for the delivery time limit and for the time shown in notification texts.
5. Keep Enabled on to evaluate the rule after saving.

Section 2: Devices
1. Choose device selection:
  - All devices, or
  - Selected devices, then pick the devices. The list offers devices of the device types used in Conditions.
2. With Selected devices, you can edit the optional Limit to devices with tags filter. A device matches when it has at least one of the selected tags. Switching to All devices hides the field but keeps any selected tags in effect.
3. Optionally select Include descendant groups to evaluate devices in subgroups as well.

Section 3: Conditions

In **Rule trigger**, you can replace the incoming-message trigger with:

- **No device message**: enter Days without a message (whole days, 1 to 30). No additional conditions are needed.
  - Devices are checked once an hour, and within a few minutes after you save the rule. A device that has been silent for the selected number of days gets one alert.
  - The alert closes as soon as the device sends a message again; it does not wait for the next hourly check.
  - Only devices whose messages are processed are watched. A device with paused message processing, without a valid subscription, or one that has not sent any message yet reports no outage.
- **Scheduled check**: select Days of the week, Local time, and Schedule timezone (for example, Monday–Friday at 08:00 in `Europe/Prague`). Set Maximum measurement age and follow the steps below to define conditions.
  - The check uses the current value of each device, the same one the overview shows. A missing measurement, or one older than Maximum measurement age, leaves the alert unchanged.
  - The rule is not evaluated between checks, so a value that crosses the limit and returns before the next check opens no alert.
  - A missed check can run up to 60 minutes late. A nonexistent local time is skipped, and a repeated local time runs only at its first occurrence.

Both rules send summary notifications instead of one notification for every device. See Summary notifications below.

1. In the first device type block select Manufacturer and Device type.
2. Under Activation conditions select Add first condition and choose the value to watch (If), the Operator, and the Value. Operators are shown in plain words, for example "is greater than" or "is one of".
3. Add more conditions when needed and choose how they combine:
  - Match all: every condition must match.
  - Match any: at least one condition must match.
4. Optional: open Advanced and turn on Use separate resolution conditions to resolve the alert at a different threshold than it starts, for example activate above 30 °C and resolve only below 27 °C. When it is off, the alert resolves as soon as the activation conditions no longer match.
5. Optional: select Add device type to watch another device type in the same rule. Each block has its own conditions and each device type can be used only once.
6. A collapsed block shows the manufacturer, device type, number of activation conditions, and the resolution mode.

Delivery options
1. Open Delivery options below Conditions when notifications should not always be sent immediately.
2. Delay notification: enter Delay in minutes. The notification is sent only if the alert is still active after the delay; repeated matches do not restart the timer. The delay is not offered for No device message and Scheduled check rules.
3. Limit delivery time: set Start time, End time, and weekdays. A match outside the window is skipped, not sent later. The summary of a No device message or Scheduled check rule is not dropped: it waits and is sent when the delivery time begins.

Section 4: Actions
1. Select Action and choose a channel: E-mail, Push notification, SMS, or Screen. One rule can have up to four actions, one for each channel.
2. For E-mail, Push notification, and SMS add Recipients as chips. Screen does not need recipients.
3. For Push notification, wait while each e-mail address is checked against existing iofrog users:
  - A green check means the user exists and can receive push notifications.
  - A warning means the user exists but the account is not activated or has no registered mobile device. The rule can still be saved, but delivery is not guaranteed.
  - An error means the user does not exist or verification could not be completed. Remove or correct the recipient before saving.
4. In Send when choose one or more moments for this action:
  - Activated: once when the alert starts.
  - Every match while active: for each later message that still matches. For No device message and Scheduled check rules see Summary notifications below.
  - Resolved: once when the alert is resolved.
5. Enter Subject (not used for SMS) and Message.
6. Use Insert variable to add values to the Subject or Message:
  - Rule details: Rule name, Device name, Device ID, Event time, Timezone, Sequence number, Group name. Add Rule name to identify the rule in notifications that use your own text.
  - Device message data: a field of the selected device type.
7. To remove an action, select the delete icon in its header. Undo is offered right after the removal.

Summary notifications

Rules with the No device message or Scheduled check trigger can change the state of many devices at once, so they do not send one notification for every device. Rules with the Device message trigger still notify for each device separately.

1. Each recipient gets one notification for each rule and channel. This applies to every channel: E-mail, Push notification, SMS, and Screen.
2. When the summary is sent:
  - Scheduled check: after each check in which a device started or stopped matching the condition.
  - No device message: at most once a day for each rule. The first summary follows the hourly check that found the outage. A device that communicates again is reported in the next summary, although its alert closes at once.
  - An outage that starts and ends between two summaries is not reported.
3. What the summary contains:
  - One device: the Subject and Message you wrote in the action, including its variables.
  - Several devices: the rule name with the number of devices as the subject, and the devices listed in parts. A No device message rule uses the parts Not sending messages and Communicating again. A Scheduled check rule uses Newly matching, Still matching, and No longer matching.
  - An e-mail shows each part as a table with the device ID, name, and group and, for an outage, the time of the last message. It lists up to 50 devices in each part. When a part has more, the e-mail carries a CSV file with all devices of the notification: their ID, name, group, the part they belong to and, for an outage, the last message. The file uses semicolons and opens in a spreadsheet program.
  - Push notification, Screen, and SMS do not list devices. They give the rule name, the number of devices, and the number in each part, for example "Devices without communication: 8 devices. Not sending messages: 6, Communicating again: 2". The devices themselves are in the application.
4. Send when decides which parts are sent:
  - Activated: devices that stopped sending messages or started matching.
  - Resolved: devices that communicate again or no longer match.
  - Every match while active: for a Scheduled check it adds the devices that still match, so a summary is sent after every check while any device matches. It has no effect for a No device message rule.
5. Each recipient sees only the devices they are a recipient for. A recipient added in the override of a subgroup sees only the devices of that subgroup. A Screen notification goes to the users with access to the listed devices.
6. Open a multi-device Screen or mobile Push notification to see the group's notification history filtered to that rule, provided you have access to the group's notifications. Select Show all rules to remove the filter. The filtered view includes notifications recorded with a rule ID; older entries remain available in the unfiltered history.

Example of an e-mail from a No device message rule named "Devices without communication". Each part is a table with the columns ID, Name, Group, and Last message:

> Subject: Devices without communication: 3 devices
>
> **Not sending messages (1)**
> DEMO-0006 · Tank level sensor · Olomouc warehouse · 11/21/26, 10:36 AM
>
> **Communicating again (2)**
> DEMO-0001 · Thermometer – ramp 2 · Brno warehouse · 11/24/26, 11:58 AM
> DEMO-0005 · Hygrometer – hall 1 · Olomouc warehouse · 11/24/26, 11:58 AM

Hourly limit for one recipient

To protect recipients from a flood of messages, one recipient gets at most 30 e-mails, 30 push notifications, and 5 SMS in one clock hour from all rules together. Each channel is counted separately and Screen notifications are not limited.

1. The first notification over the limit is replaced by one notice sent through the same channel, in the language of the rule. It says that sending is temporarily limited and that further notifications are sent again from the next hour.
2. Until the hour ends, the recipient gets nothing more through that channel. Notifications that were not sent are not delivered later.
3. Alerts are not affected. They still open and close in the application, so use Groups > Notifications > Alerts for the current state.
4. The notice sent by SMS uses one SMS credit.
5. Notifications that were not sent because of the limit are not listed in the application. If a recipient reports missing notifications, check how often their rules send.

Finish
1. Check the Rule summary panel. It describes the rule in plain text: name, Enabled or Disabled, device selection, number of conditions and device types, number of actions, and delivery mode.
2. Use the help icons next to less obvious options. Each one explains the option with a concrete example.
3. If "fields need attention" is shown, select it or an item in the list of required fields to jump to the affected field.
4. Select Save changes. It is enabled when the rule is valid and something changed.

Override an inherited rule
1. Open a subgroup, find the inherited rule, and select Override.
2. In Devices turn on Override device selection in this group and choose All devices, or Selected devices and enter the Device IDs, one per line.
3. In each action add Own additional recipients. Effective recipients shows the recipients inherited from parent groups together with your own.
4. Conditions, delivery options, and message texts are read-only in an override. Select Save changes.

## Practical checks

- The footer shows "All changes valid" before saving and Save changes is enabled.
- The new or edited rule appears in the table with its severity badge and one channel icon for each action.
- The Including subgroups icon is shown only when Include descendant groups is selected.
- The Active toggle changes state and stays changed after reopening the page.
- For Push notification, every recipient chip shows its verification state before saving.
- After reopening a rule, the Rule summary panel matches what you configured.
- An override reopened in the subgroup shows its own device selection and effective recipients.
- When a rule matches, the alert appears on the device and each action sends its notification at the moments selected in Send when.
- A No device message rule opens alerts within a few minutes after saving for devices that are already silent for the selected number of days.
- After a scheduled check or an hourly outage check that changes several devices, each recipient gets one notification listing them, not one for every device.

## Common issues

- Edit or Delete unavailable: the rule belongs to a parent group or the matching right is missing. Use Override for an inherited rule when update is allowed.
- Save changes stays disabled: a required field is missing, a Push recipient is still being checked or does not belong to an existing iofrog user, or nothing was changed. The list of required fields shows what to complete.
- Device type list empty: select Manufacturer first.
- "This device type already has a conditions block": each device type can be used only once in a rule. Edit its existing block instead.
- No fields offered in conditions or in Insert variable > Device message data: select a device type first.
- A channel is not offered in Action: the rule already has an action for that channel.
- "Add a resolution condition or disable separate resolution conditions": the resolution conditions are turned on but empty.
- No notification on a repeated match: the action sends only at Activated. Add Every match while active in Send when.
- No notification outside working hours: Limit delivery time skips matches outside the selected window and weekdays in the rule timezone.
- No notification for a short event with Delay notification: the alert recovered before the delay passed.
- A silent device has no outage alert: its message processing is paused, it has no valid subscription, it has never sent a message, or it has been silent for less than the selected number of days. Devices are checked once an hour.
- An outage alert is open but no notification arrived yet: a No device message rule sends at most one summary a day, and a summary outside Limit delivery time waits for the window to begin.
- No notification after a scheduled check: no device started or stopped matching since the previous check and the action does not send at Every match while active, the measurement is older than Maximum measurement age, or the summary waits for Limit delivery time.
- One notification lists several devices instead of using your Message: this is the summary of a No device message or Scheduled check rule. Your Subject and Message are used when the notification concerns a single device.
- A recipient stopped receiving notifications and got "Notifications are temporarily limited": the hourly limit for one recipient was reached. Sending resumes in the next hour; reduce how often the rules send, for example by removing Every match while active.
- Recipient validation fails: E-mail expects a valid e-mail address and SMS expects a phone number in international format. Push additionally requires an existing iofrog user for every recipient.
- "This rule changed while you were editing it": someone else saved the rule. Select Reload current version and repeat your change.
- Active alerts of a rule disappear after editing it: saving a rule clears its current alerts. They start again with the next matching message.
- A rule turned off by itself: the last device selected in the rule was deleted or moved to another group. Open the rule, select devices again, and turn it on.
- Active alerts of a device disappear after moving it to another group: moving a device ends its alerts. They start again with the next matching message in the new group.

## Related use cases

- [Review notification alerts](/help/groups-tabs-notifications-alerts/)
- [Manage devices in list view](/help/groups-tabs-devices-list/)
- [Groups workspace overview](/help/overview-groups/)

## Support handoff

If rule management fails, include content_id, active group, rule name, whether you were adding, editing, or overriding, severity, the rule trigger, device selection, device types and their conditions, the actions with their channels and Send when selection, affected recipient e-mail addresses, and the message or verification icon shown. For a missing or unexpected notification, add the time it was expected and whether the recipient received the notice about the hourly limit. Do not include passwords or authentication tokens.
