With an AlarmSubscription, a filter can be transferred so that not all active alarms of the alarm system are notified, but only those which match the filter. The filter syntax is based on SQL syntax. However, only the WHERE instruction is relevant. The keyword "WHERE" must be omitted.
Operators
The following operators can be used in the filter string of the alarm filter:
|
Operator |
Description |
Example |
|---|---|---|
|
|
equal to |
|
|
|
not equal |
|
|
|
greater than |
|
|
|
less than |
|
|
|
greater than or equal to |
|
|
|
less than or equal to |
|
|
|
logical OR |
|
|
|
logical AND |
|
|
|
within a range |
|
|
|
outside a range |
|
|
|
corresponds to the string string |
|
|
|
does not correspond to the string string |
|
|
|
corresponds to one or more values |
|
|
|
does not correspond to one or more values |
|
|
|
brackets expressions |
|
Precedence of the operators:
|
Rank |
Operators |
|---|---|
|
1 |
|
|
2 |
NOT |
|
3 |
AND, && |
|
4 |
OR, || |
Permitted wildcards:
|
Wildcard |
Description |
Example |
|---|---|---|
|
* |
Replaces 0 to more characters |
|
|
? |
Replaces 1 character |
|