Skip to content

new tutorial #22895

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Mar 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
author_name: Christian Savchev
author_profile: https://github.com/christiansavchev
title: Create a Condition to Catch All Notifications
description: This tutorial will teach you how to create a condition
keywords: tutorial
auto_validation: true
time: 10
tags: [ tutorial>beginner, software-product-function>sap-btp-cockpit ]
primary_tag: software-product>sap-btp--cloud-foundry-environment
parser: v2
---

# Create a Condition to Catch All Notifications.
<!-- description --> The condition is an entity in Alert Notification that represents under what condition one event is matched for delivery.

## Prerequisites
- 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)

## You will learn
- 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

## Intro
> 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).

### Create a condition

1. Open the **Conditions** menu on the Alert Notification cockpit page and click on the **Create** button.

![Condition](1-Conditions.png)

2. Once the **Create Conditions** dialog opens, enter the following:
* A unique name for your condition in the **Name** field.
* [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.
* 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**.

![Create](2-Create.png)

3. Click on the **Create** button. Your newly created condition is now available in the **Conditions** menu.

![DemoConditions](3-DemoCond.png)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
author_name: Christian Savchev
author_profile: https://github.com/christiansavchev
title: Create a Condition to Catch All Notifications
description: The condition is an entity in Alert Notification that represents under what condition one event is matched for delivery
keywords: tutorial
auto_validation: true
time: 10
tags: [ tutorial>beginner, software-product-function>sap-btp-cockpit ]
primary_tag: software-product>sap-btp--cloud-foundry-environment
parser: v2
---

## Prerequisites
- 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)

## You will learn
- 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

## Intro
> 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).

### Create a condition

1. Open the **Conditions** menu on the Alert Notification cockpit page and click on the **Create** button.

![Condition](1-Conditions.png)

2. Once the **Create Conditions** dialog opens, enter the following:
* A unique name for your condition in the **Name** field.
* [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.
* 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**.

![Create](2-Create.png)

3. Click on the **Create** button. Your newly created condition is now available in the **Conditions** menu.

![DemoConditions](3-DemoCond.png)