|
| 1 | +--- |
| 2 | +author_name: Christian Savchev |
| 3 | +author_profile: https://github.com/christiansavchev |
| 4 | +title: Create a Condition to Catch All Notifications |
| 5 | +description: This tutorial will teach you how to create a condition |
| 6 | +keywords: tutorial |
| 7 | +auto_validation: true |
| 8 | +time: 10 |
| 9 | +tags: [ tutorial>beginner, software-product-function>sap-btp-cockpit ] |
| 10 | +primary_tag: software-product>sap-btp--cloud-foundry-environment |
| 11 | +parser: v2 |
| 12 | +--- |
| 13 | + |
| 14 | +# Create a Condition to Catch All Notifications. |
| 15 | +<!-- description --> The condition is an entity in Alert Notification that represents under what condition one event is matched for delivery. |
| 16 | + |
| 17 | +## Prerequisites |
| 18 | +- Tutorial: You have activated **Alert Notification** in a trial account as described in [Set Up SAP Alert Notification service for SAP BTP for Initial Use](set-up-alert-notification) |
| 19 | + |
| 20 | +## You will learn |
| 21 | +- How to create a condition with an event property **Category**, predicate **Is Equal To** and value **NOTIFICATION**. SAP Alert Notification service for SAP BTP uses this condition to filter all relevant events regarding notifications |
| 22 | + |
| 23 | +## Intro |
| 24 | +> If you want to use other conditions, see the SAP Alert Notification Service for SAP BTP documentation at [Managing Conditions](https://help.sap.com/docs/ALERT_NOTIFICATION/5967a369d4b74f7a9c2b91f5df8e6ab6/35ca5de101fc4d5791cdbb2df15e9d9b.html?locale=en-US). |
| 25 | +
|
| 26 | +### Create a condition |
| 27 | + |
| 28 | +1. Open the **Conditions** menu on the Alert Notification cockpit page and click on the **Create** button. |
| 29 | + |
| 30 | +  |
| 31 | + |
| 32 | +2. Once the **Create Conditions** dialog opens, enter the following: |
| 33 | + * A unique name for your condition in the **Name** field. |
| 34 | + * [Optional] You can add additional details about the condition in the **Description** field and assign one or more labels to your condition in the **Labels** field. |
| 35 | + * In the **Condition** field choose the **Category** option in the first box, **Is Equal To** in the second box, and in the third box set the value to **NOTIFICATION**. |
| 36 | + |
| 37 | +  |
| 38 | + |
| 39 | +3. Click on the **Create** button. Your newly created condition is now available in the **Conditions** menu. |
| 40 | + |
| 41 | +  |
0 commit comments