SetAlarmSeverity()

The SetAlarmSeverity() action changes the severity of the alarm. This action provides an additional means of managing alarms based on their severity.

Format:

SetAlarmSeverity(Integer newSeverity)

where

newSeverity is the severity you want to set for this alarm. You can use values from 0 to 1000 for the new severity.

Example:

The following example updates the current alarm severity to 500 if the current alarm state is "ESCALATED" and the previous state for the alarm was "STARTED".

Trigger: Alarm

If: Alarm.state == "ESCALATED" && Alarm.previousstate == "STARTED"

Then/Else: SetAlarmSeverity(500)

 

See Also