> For the complete documentation index, see [llms.txt](https://docs.buildings.ability.abb/collection/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.buildings.ability.abb/collection/english-v14/documentation/alarme-regeln-und-eskalationen/regeln.md).

# Rules

In this chapter you will learn everything about rules

## How rules work

*Rules* are the conditions that must be met for an alarm to be triggered.

Using *Rules* you can configure in detail when an alarm should be triggered.

Rules are created for individual assets. One single attribute can be monitored per asset. With a rule, you set a threshold for this attribute. If the value of the monitored attribute rises above or falls below this threshold, an alarm is created.

## Overview

<div data-full-width="true"><figure><img src="https://content.gitbook.com/content/Nyvwhz1kEMXcHf4HLuZ8/blobs/eQEjXkh27GPp2nsuH0yj/Bulk%20pausing%20rules%20(1).png" alt=""><figcaption><p>Fig. 1 – The "Rules" menu with the rule overview</p></figcaption></figure></div>

<table data-full-width="true"><thead><tr><th width="84.33333333333331"></th><th width="229"></th><th></th></tr></thead><tbody><tr><td><strong>[A]</strong></td><td>Menu item "Rules"</td><td>Click to open the alarm overview.</td></tr><tr><td><strong>[B]</strong></td><td>Column "Status"</td><td>Shows whether the corresponding rule is currently paused or not.</td></tr><tr><td><strong>[C]</strong></td><td>Column "Priority"</td><td>Shows the priority of an alarm.<br>This value is configured when creating a rule.</td></tr><tr><td><strong>[D]</strong></td><td>Column "Attribute"</td><td>Shows which attribute the rule applies to.<br>This value is configured when creating a rule.</td></tr><tr><td><strong>[E]</strong></td><td>Column "Condition"</td><td>Shows which value must be reached for an alarm to be created.<br>This value is configured when creating a rule.</td></tr><tr><td><strong>[F]</strong></td><td>Column "Type"</td><td>Shows where the rule was created, or where it is from.</td></tr><tr><td><strong>[G]</strong></td><td>Column "Tags"</td><td>Shows the selected tags for the rule.</td></tr><tr><td><strong>[H]</strong></td><td>Column "Alarm Text"</td><td>Shows which message is displayed when an alarm is created.<br>Configured when creating a rule.</td></tr><tr><td><strong>[I]</strong></td><td>Switch "Active rules"</td><td><ul><li>If this switch <strong>ON</strong> is: Active rules are displayed</li><li>If this switch <strong>OFF</strong> is: Active rules are not displayed</li></ul></td></tr><tr><td><strong>[I1]</strong></td><td>Count "Active rules"</td><td>Shows how many active rules there are</td></tr><tr><td><strong>[J]</strong></td><td>Switch "Paused rules"</td><td><ul><li>If this switch <strong>ON</strong> is: Paused rules are displayed</li><li>If this switch <strong>OFF</strong> is: Paused rules are not displayed</li></ul></td></tr><tr><td><strong>[J1]</strong></td><td>Count "Paused rules"</td><td>Shows how many paused rules there are</td></tr><tr><td><strong>[K]</strong></td><td>Sort selection</td><td>Selects whether rules are sorted functionally or geographically</td></tr><tr><td><strong>[L]</strong></td><td>rule chains</td><td>Opens the rule chains page <a href="/collection/english-v14/documentation/alarme-regeln-und-eskalationen/regelketten.md">→ Rule chains</a></td></tr><tr><td><strong>[M]</strong></td><td>Bulk pause/start</td><td>Opens the window to start or pause multiple rules at once <a href="#mehrere-regeln-auf-einmal-pausieren-starten">↗ Pause/start multiple rules at once</a></td></tr><tr><td><strong>[N]</strong></td><td>Search</td><td>Click to open the search menu</td></tr><tr><td><strong>[O]</strong></td><td>Create new rule</td><td>Opens the panel to create a new rule</td></tr><tr><td><strong>[P]</strong></td><td>Create new rule in asset</td><td>Opens the panel to create a new rule directly for the corresponding asset</td></tr><tr><td><strong>[Q]</strong></td><td>Pause/activate all rules of an asset</td><td>Shows whether all rules of the asset are currently paused or activated. Click to toggle between the two states.</td></tr><tr><td><strong>[R]</strong></td><td>Pause/activate rule</td><td>Shows whether a rule is currently paused or activated. Click to toggle between the two states.</td></tr><tr><td><strong>[S]</strong></td><td>More options</td><td>Show more options.</td></tr><tr><td><strong>[T]</strong></td><td>Edit rule</td><td>Edit the respective rule. For available options <a href="/collection/english-v14/documentation/alarme-regeln-und-eskalationen/regeln/eine-regel-erstellen.md#details">-> see here</a></td></tr><tr><td><strong>[U]</strong></td><td>Go to</td><td>Opens the window to go to the associated elements</td></tr><tr><td><strong>[V]</strong></td><td>Duplicate</td><td>Creates a copy of the rule.</td></tr><tr><td><strong>[W]</strong></td><td>Add to bookmarks</td><td>Adds the rule to the bookmark.</td></tr><tr><td><strong>[X]</strong></td><td>Delete rule</td><td>Delete the respective rule.<br><strong>⚠ Warning</strong>: If a rule is deleted, all associated <a href="/collection/english-v14/documentation/alarme-regeln-und-eskalationen/alarme.md">↗ alarms</a> and entries in the <a href="/collection/english-v14/documentation/alarme-regeln-und-eskalationen/alarme/alarmstatistik.md">↗ alarm history</a>are also deleted.</td></tr></tbody></table>

## Create a rule

See chapter [-> Create a rule](/collection/english-v14/documentation/alarme-regeln-und-eskalationen/regeln/eine-regel-erstellen.md).

## Edit a rule

Click on **\[O]**, to edit a rule. The available options are the same as when a [-> rule is created](/collection/english-v14/documentation/alarme-regeln-und-eskalationen/regeln/eine-regel-erstellen.md) .

## Pause a rule

Click on **\[N]**, to pause a rule. As long as a rule is paused, no alarm will be created when the conditions of this rule are met.

Click again on **\[N],** to activate the rule again.

## Pause or start multiple rules at once

<div align="center"><figure><img src="https://content.gitbook.com/content/Nyvwhz1kEMXcHf4HLuZ8/blobs/HQAyT2iuNCJ3SERueang/Bulk%20pausing%20rules%20(3).png" alt="" width="375"><figcaption></figcaption></figure></div>

1. **Navigate to rule management:**\
   Go to *rule chains* and click on **\[M]** **Bulk pause/start**.
2. **Select action type:**
   * Select **\[M1]** **Pause rule**, to pause rules.
   * Select **\[M2]** **Start rule**, to activate rules.
3. **Use the "Pause all" option (optional):**\
   If all existing rules are to be paused, activate the option **\[M3]** **Pause all**.
4. **Select assets:**\
   Enter in the field **\[M4]** *Search asset* the desired asset for which the rules should be paused or started.
5. **Confirm action:**\
   Click on **\[M5]** **Apply**, to pause or start the selected rules.\
   *If you want to cancel the action, click on **Cancel**.*

   ▷ The selected rules will be paused or started depending on the selection.

## External rules

Rules can also be created via external integrations. These rules are in *Eliona* with **"External"** labeled, can only be edited to a limited extent, and cannot be deleted.

<figure><img src="https://content.gitbook.com/content/Nyvwhz1kEMXcHf4HLuZ8/blobs/RR1ARPggOaZN6bUyS06I/Frame%201863.png" alt=""><figcaption></figcaption></figure>

Another type of rules are those created by the rule engine. These rules are marked accordingly, cannot be edited or deleted.\
▷ *When attempting to edit such a rule, you are redirected directly to the associated rule in the rule engine.*

<figure><img src="https://content.gitbook.com/content/Nyvwhz1kEMXcHf4HLuZ8/blobs/L2fbXFNOCAiJM49CKH06/image.png" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.buildings.ability.abb/collection/english-v14/documentation/alarme-regeln-und-eskalationen/regeln.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
