Attach an Alarm Report to a Notification
Attach a PDF alarm report to an email notification so that recipients receive it automatically when an alarm is raised. Uses the Reports in Notifications feature.
Step 1. Create the report template
Section titled “Step 1. Create the report template”Create a report template designed for alarm events. The Originator entity alias automatically resolves to the entity that triggered the alarm.
- Navigate to Reporting ⇾ Templates.
- Click + Add report template ⇾ Create new report template.
- Configure:
- Name: New alarm
- Format: PDF
- Type: Report
- Click Add.
- In the opened Report Builder, add an Alarm table component:
- In the Alarm source section, click Create new and configure an entity alias:
- Filter type: Originator entity
- Default originator entity: Device
- Alarm filter: Active
- In the Alarm source section, click Create new and configure an entity alias:
- Add any additional components (charts, device info, etc.).
- Save the template.
Step 2. Attach the report to a notification template
Section titled “Step 2. Attach the report to a notification template”- Navigate to Notification center ⇾ Templates.
- Open the default New alarm notification template, or create a new one.
- Add the Email delivery method (Mail server must be configured).
- Enable Attach report.
- Report template: select the New alarm template created in Step 1.
- User: specify the account whose data access permissions are used to generate the report (e.g. [email protected] — Tenant Administrator).
- Click Next.
- Enter the subject and message for the email.
- Save the template.
Step 3. Test the setup
Section titled “Step 3. Test the setup”- Configure an alarm rule on a device (e.g. trigger when
temperature > 25). - Publish telemetry that exceeds the threshold to create an alarm.
- Verify that a notification appears in the Web UI.
- Check the recipient’s email inbox — the message should include the PDF attachment.
Summary
Section titled “Summary”| Component | Configuration |
|---|---|
| Notification template | New alarm notification — Email delivery, Attach report enabled |
| Report template | New alarm — Alarm table using Originator entity alias, active alarm filter |
| User account | Tenant Administrator (full data access) |
| Delivery | Email with PDF attached, Web UI notification (no attachment) |
Use this pattern for any event-driven report: replace the alarm rule with any notification trigger supported by the Notification system.