Notifications
The Notification table in Klevr Grants is used to configure and manage automated notifications that are triggered by data changes within Dynamics 365.
Notifications
Summary
The Notification table in Klevr Grants is used to configure and manage automated notifications that are triggered by data changes within Dynamics 365. It provides a flexible, low‑code way to define when, how, and who to notify without building individual Power Automate flows for each notification scenario.
Notifications can be delivered through multiple channels including Email, Tasks, and In‑App notifications, and can be further controlled using key field triggers and FetchXML logic to ensure notifications are only sent when specific business criteria are met.
Purpose of the Notification Table
The purpose of the Notification table is to act as a centralised notification engine for Klevr Grants. It allows administrators and consultants to:
- Define notifications against any table in the system using the table’s schema name
- Trigger notifications based on specific field changes (key fields)
- Control delivery channels (Email, Task, In‑App)
- Dynamically determine recipients
- Reuse existing D365 email templates
- Apply additional conditional logic using FetchXML
This approach is conceptually similar to Power Automate but is native to the Klevr Grants solution, reducing complexity and maintenance overhead while keeping notification logic consistent and auditable.
When This Table Is Used
A Notification record is evaluated when:
- A change occurs on the configured table
- One or more Key Fields are updated
- The optional FetchXML logic evaluates to true
If all conditions are met, the notification is generated and delivered based on the configuration.
Field Descriptions
- Entity Schema Name The schema name of the table that this notification applies to. This determines which table the system monitors for changes that may trigger the notification.
- Description An optional description used to document the purpose or business context of the notification record. This field is for administrative reference only and does not affect notification behaviour.
- Reminder Defines how the notification is delivered. Supported options include Email, Task, and In‑App notifications. Multiple delivery methods can be selected at the same time.
- Notify To Specifies the field or fields on the target record that determine who will receive the notification. Multiple recipient fields can be configured.
- Notify Specific User Allows the notification to be sent to a specific user regardless of record data. This is useful for fixed recipients such as administrators or support users.
- Key Fields Defines the fields that trigger the notification when their values change. These fields act as the primary trigger mechanism for the notification record.
- Email Template Specifies the Dynamics 365 email template to be used when sending email notifications. The template controls the subject and body content of the email.
- Email From Queue Defines the queue that the email notification will be sent from. This determines the sender address when using a queue-based email configuration.
- Email From User Defines the user that the email notification will be sent from when not using a queue. The selected user appears as the email sender.
- Title The title of the notification. This is used as the subject line for emails and as the display title for in‑app notifications and tasks.
- Body The main content of the notification. This supports dynamic values and is used as the email body, task description, or in‑app notification message.
- FetchXML Optional conditional logic written in FetchXML that is evaluated after the key field trigger occurs. The notification is only sent if the FetchXML criteria are met.
FetchXML Behaviour Notes
- The key fields trigger the notification evaluation
- The FetchXML acts as a secondary filter
- Even if a key field changes, the notification will not send if the FetchXML criteria are not satisfied
- This allows complex business logic such as:
- Date‑based conditions
- Status checks
- Related record validation
- Multi‑field comparisons
Example Use Cases
- Notify applicants when a grant status changes to Approved
- Send tasks to assessors when an application enters review
- Trigger in‑app notifications for overdue milestones
- Email finance users when payment records meet specific criteria
Notification Logs
The Notification Log records notifications that have been triggered from the Notification table.
Each log entry is created as a task and provides visibility of when a notification was generated and which record it relates to, acting as a reference and audit trail for notification activity.
Last updated on