Skip to content
Stand with Ukraine flag

Rule triggers

Each notification rule has a trigger that determines when the rule fires. The trigger type must match the template type — for example, an Alarm trigger can only use an Alarm template. For an overview of rules and how to create them, see Notification center.

When it fires: An alarm is created, acknowledged, cleared, changes severity, or is deleted.

Filter settings:

FieldDescription
Alarm type listRestrict to specific alarm types, or leave as Any type to match all.
Alarm severity listRestrict to specific severity levels, or leave as Any severity to match all.
Notify onWhich alarm events trigger the notification: Alarm created, Alarm severity changed, Alarm acknowledged, Alarm cleared, Alarm deleted.

Recipients: Uses an escalation chain instead of a simple recipient list. Add multiple stages with configurable delays between them. If a recipient clears or acknowledges the alarm before the next stage fires, subsequent recipients are skipped. Configure which alarm statuses stop the chain in the Stop escalation on the alarm status become field.

Default rules:

  • New alarm — notifies Tenant administrators when an alarm is created.
  • Alarm update — notifies Tenant administrators when any alarm is updated or cleared.

When it fires: A device becomes active or inactive based on the connectivity status inactivity timeout.

Filter settings:

FieldDescription
Device / Device profileToggle between filtering by specific devices or by device profile. If the field is left empty, the trigger applies to all devices or all device profiles.
Notify onWhich activity event triggers the notification: Active, Inactive.

Default rule: None.


When it fires: An entity is created, updated, or deleted.

Filter settings:

FieldDescription
Entity typeOne or more entity types to monitor: Device, Asset, Tenant, Customer, User, Dashboard, and others.
StatusWhich actions trigger the notification: Created, Updated, Deleted.

Default rule: Device created — notifies Tenant administrators when a device is created.


When it fires: A comment is added or updated on an alarm.

Filter settings:

FieldDescription
Alarm type listRestrict to specific alarm types, or leave as Any type.
Alarm severity listRestrict to specific severity levels, or leave as Any severity.
Alarm status listRestrict to specific alarm statuses, or leave as Any status.
Notify only on user commentsWhen enabled, system-generated comments (e.g., severity changes) are ignored.
Notify on comment updateWhen enabled, edits to existing comments also trigger the notification.

Default rule: Comment on active alarm — notifies Tenant administrators when a user adds a comment on an active alarm.


When it fires: An alarm is assigned or unassigned to a user.

Filter settings:

FieldDescription
Alarm type listRestrict to specific alarm types, or leave as Any type.
Alarm severity listRestrict to specific severity levels, or leave as Any severity.
Alarm status listRestrict to specific alarm statuses, or leave as Any status.
Notify onWhich assignment events trigger the notification: Alarm assigned, Alarm unassigned.

Default rule: Alarm assignment — notifies the assigned user when any alarm is assigned to them.


When it fires: A rule chain or rule node starts, updates, or stops — typically used to detect initialization failures.

Filter settings:

The trigger has two independent filter sections:

Rule engine filter:

FieldDescription
Rule chainsRestrict to specific rule chains, or leave empty to apply to all rule chains.
Rule chain eventsWhich lifecycle events trigger the notification: Started, Updated, Stopped. Default: All.
Only rule chain lifecycle failuresWhen enabled, only failure events (e.g., a rule chain fails to start) trigger the notification.

Rule node filter:

FieldDescription
Track rule node eventsToggle to enable rule node event tracking. Disabled by default.
Rule node eventsWhich lifecycle events trigger the notification: Started, Updated, Stopped. Default: All.
Only rule node lifecycle failuresWhen enabled, only failure events (e.g., a rule node fails to start) trigger the notification.

Default rule: Rule node initialization failure — notifies Tenant administrators when any rule chain or rule node fails to start, update, or stop.


When it fires: The connection status between ThingsBoard and an Edge instance changes.

Filter settings:

FieldDescription
Edge instancesRestrict to specific Edge instances, or leave empty to apply to all edge instances.
Notify onWhich connection events trigger the notification: Connected, Disconnected. Default: All.

Default rule: Edge connection status change — notifies Tenant administrators when the connection status between ThingsBoard and an Edge instance changes.


When it fires: ThingsBoard fails to communicate with an Edge instance.

Filter settings:

FieldDescription
Edge instancesRestrict to specific Edge instances, or leave empty to apply to all edge instances.

Default rule: Edge communication failure — notifies Tenant administrators when communication failures occur.


When it fires: A tenant approaches or exceeds its entity count quota (devices, assets, users, etc.).

Filter settings:

FieldDescription
Entity typeThe entity type whose count is monitored.
Threshold (%)The percentage of the limit at which the notification fires.

When it fires: A tenant approaches or exceeds a usage threshold for a specific API feature.

Filter settings:

FieldDescription
API featuresThe features to monitor: Device API, Telemetry persistence, Rule Engine executions, JavaScript executions, TBEL executions, Email messages, SMS messages, Alarms. Leave empty to apply to all API features.
Notify onWhich status transitions trigger the notification: Enabled, Warning, Disabled.

Default rules:

  • API feature disabled — notifies Tenant administrators when an API feature is disabled.
  • API feature disabled (sysadmin) — notifies System administrators when an API feature is disabled for a tenant.
  • API feature warning — notifies Tenant administrators on API feature usage WARNING state.
  • API feature warning (sysadmin) — notifies System administrators on API feature usage WARNING state for a tenant.

When it fires: A new ThingsBoard platform version is released.

Filter settings: None — triggers automatically when a new version is detected.

Default rule: New platform version — notifies System administrators when a new platform version is available.


When it fires: A rate limit is exceeded.

Filter settings:

FieldDescription
Rate limitsThe rate limits to monitor. Per-tenant limits: Transport messages, Entity version load, Entity version creation, Reports generation, Monolith telemetry Cassandra write queries, REST API requests, Rest API Cassandra write queries, Integration messages, Rule Engine telemetry Cassandra write queries, Rule Engine telemetry Cassandra read queries, WS updates per session, Notification requests, Rest API and WS telemetry Cassandra read queries, Monolith telemetry Cassandra read queries. Per-entity limits: Notification requests per rule, Transport messages per device, REST API requests per customer, Integration messages per device. Leave empty to apply to all rate limits.

Default rules:

  • Per-tenant rate limits exceeded (sysadmin) — notifies System administrators when a tenant exceeds a per-tenant rate limit.
  • Per-tenant rate limits exceeded — notifies Tenant administrators when a per-tenant rate limit is exceeded.
  • Per-entity rate limits exceeded — notifies Tenant administrators when a per-entity rate limit is exceeded for an entity.

When it fires: A background task processing fails.

Filter settings: None.

Default rule: Task processing failure — notifies System administrators when task processing fails.


When it fires: Server resource usage exceeds the configured thresholds.

Filter settings:

FieldDescription
CPU threshold (%)The CPU usage percentage at which the notification fires. Default: 80%.
RAM threshold (%)The RAM usage percentage at which the notification fires. Default: 80%.
Storage threshold (%)The disk storage usage percentage at which the notification fires. Default: 80%.

Default rule: Resources shortage — notifies System administrators on resource shortage.