Skip to main content

Notifications

The Notifications module configures automated notification rules that trigger based on department events. It is managed by the NotificationsController.

Notification List

Displays all configured notification rules with resolved human-readable descriptions of:

  • Who is notified
  • What triggers the notification
  • Threshold values

Creating Notifications

Notification Targeting

Notifications can target:

TargetDescription
EveryoneAll department members
Department AdminsOnly administrators
Selected Group AdminsAdmins of specific groups
Specific combinationsCustom mix of roles, groups, and individual users

Notification Event Types

Event TypeDescriptionConfiguration
RolesInGroupAvailabilityAlertAlert when available personnel with a specific role in a group drops below thresholdRole, Group, Lower/Upper limits
UnitTypesInGroupAvailabilityAlertAlert when available units of a type in a group drops below thresholdUnit Type, Group, Lower/Upper limits
RolesInDepartmentAvailabilityAlertAlert when available personnel with a role department-wide drops below thresholdRole, Lower/Upper limits
UnitTypesInDepartmentAvailabilityAlertAlert when available units of a type department-wide drops below thresholdUnit Type, Lower/Upper limits

Threshold Configuration

FieldDescription
Lower LimitAlert when count drops below this value
Upper LimitAlert when count exceeds this value

Current State Data

When creating a notification, the system captures the current state of relevant resources (staffing levels, unit states) for comparison when evaluating triggers.

Deleting Notifications

Removes a notification rule by ID.

Display Resolution

The notification list performs extensive resolution to display human-readable information:

  • Role IDs → Role names
  • Group IDs → Group names
  • User IDs → User names
  • Event type codes → Descriptive text
  • Unit type IDs → Unit type names

Interactions with Other Modules

ModuleInteraction
Personnel RolesRole-based availability alerts
GroupsGroup-level availability alerts
UnitsUnit type availability alerts
Custom StatusesCurrent state data references custom states
Department SettingsNotification delivery channels