SetAlarmExtendedData() Action

The SetAlarmExtendedData() action sets extended data for an alarm. The extended data is additional, user-specified data for the alarm. You can use extended data to integrate with third-party applications. This action is available for the Alarm, AlarmStateChange, AlarmSeverityChange, and AlarmExtendedDataChange trigger messages only.

Format:

SetAlarmExtendedData (String extendedData)

where

extendedData is the user-specified data for the alarm. You can use a maximum of 250 characters for this String.

Example:

The following example changes the extended data of the Alarm that generated the expression rule to "EscalationLevel2" when that alarm is in an "ESCALATED" state and the extended data for that alarm is set to "EscalationLevel1". (Note that the name of the alarm state must be written in all uppercase.)

Trigger:Alarm

If: Alarm.state == "ESCALATED" && Alarm.extendeddata == "EscalationLevel1"

Then: SetExtendedData("EscalationLevel2")

 

See Also