Creating a condition-based alert for a notification is similar to creating a query to return
results that then triggers the notification. When you specify columns in the
Condition panel, you are building the
select and where statements of
your query.
To enable conditional-based alerts for a notification, you must add a notification
trigger with its own conditions. When your condition returns data that meets the
requirements, the notification is triggered.
-
Select Notifications from Space
Management or click the Notifications icon in Dashboards, Designer, or Visualizer to
navigate to the Notification Center.
The Notification Center lists the existing notifications
for that space that were created in Space Management, Designer, and Visualizer.
-
Click + Create New Notification to
create a new notification.
-
Complete the New Notification form by specifying and
setting the details of the notification.
-
Enable the Set schedule based on
conditions property.
When you enable this setting, the Repeats
fields are automatically used for scheduling based on the trigger.
- Repeats
- Select the frequency to check for the condition. You cam
select Hourly, Daily,
Weekly,
Monthly.
- Every
- The hourly frequency to run a check for the condition.
Note: This option only displays if the
Repeats is
Hourly.
- Starting at
- Specify the time and time zone for when to schedule the
condition check and then send the report.
-
Click Select a Measure or Attribute
in the When condition meets field to
define your conditions to trigger the notification. This is the measure,
attribute, or expression data that is returned if the notification is triggered.
You need a measure to ensure that the dimension tables are joined.
The Condition panel is displayed.
-
Select a measure or attribute aggregation from the first Search columns field to set a base
column.
-
In the Where section, select a column
in the Search columns field to add as
a filter to the alert condition. Click the Drawer icon to select a column from a subject area.
-
Select an Operator to use for the
condition.
You can select: Equals, Less
Than, Less Than Or Equals,
Greater Than, or Greater Than Or
Equals.
-
Specify your value to evaluate the condition in the Enter comma separated values field to return
the results.
-
Click +Add Condition to add
multiple conditions to the trigger.
When you add a new condition, you can select AND or OR to set
how the application processes the additional conditions. For example, if you
select AND, then for the conditional
alert to be met, each condition must be met for trigger to occur. If you use
OR, then only one of the
conditions needs to be met for the trigger to occur.
Note: You can use either AND
or OR for additional conditions
but you cannot use them both in the same condition.
-
Click Validate to validate the
data. A confirmation message displays if your condition returns data.
Birst also displays a message if your condition is valid but there is no data
yet to return. If the condition data is not valid, Birst displays a message
informing you to check your conditions.
-
Click Back to save the condition.
Alternatively, click X to cancel the
condition.
-
Complete the Notifications form. You can click Edit to edit the conditions.