- 03 Dec 2024
- 2 Minutes to read
- DarkLight
Alerts
- Updated on 03 Dec 2024
- 2 Minutes to read
- DarkLight
General
Alerts can be used to check certain conditions within the data model of a Datasource on a regular basis and - when the condition is fulfill - send an alert e-mail to a User.
Example: A User wants the total revenue of the previous day to be checked every day at 9AM, and - if the total revenue is below a certain threshold - receive an e-mail.
The same functionality could be achieved using Tasks but alerts provide a simpler way to do it and User can manage alerts themselves in the Hub or with the Qlik Sense Extension.
Properties
Every alert has the following properties:
Name | Description |
---|---|
Name | The name of the alert. This name will be used in the e-mail that is sent to the User if the alert is triggered. |
User | The User to be notified by e-mail in case the alert is triggered. |
Datasource | The Datasource in which the alert condition shall be checked. |
Cycle Over Field | When the option is disabled, the alert condition will be evaluated once after the filters (see below) have been applied. If the alert condition is fulfilled, an e-mail will be sent to the User. When the option is enabled, you can select a field of the Datasource; the alert condition will be evaluated for every value of that field within the data model. If the alert condition is fulfilled for at least one of the values, an e-mail will be sent to the User that contains a list of all values of that field for which the alert condition was fulfilled. |
Cycle Field Name | The name of the Datasource field to cycle over when checking the alert condition. This property is only applicable if the property is Cycle Over Field is enabled. |
Condition Code | A native Datasource expression that contains a condition; if the condition is fulfilled, the alert will be triggered. |
Filters | An optional list of one or more filters that will be applied before the alert condition will be evaluated. Every filter has a Field property that contains the Datasource field to be filtered and one or more Values to which the filter shall be set. If a filter value starts with an equals sign (=) you can use an expression native to the type of Datasource from which the object is extracted (e.g. if you extract an object from a Qlik Sense Datasource, you can use the filter value =year(today()) to filter to the current year). |
Execution Plan | The Execution Plan that determines how often the alert condition will be checked. An additional property Silence Period can be used to define the time for which the alert will be silenced once it has been triggered. |