isAlarmActive

Description

Returns whether there are active alarms that match the provided criteria. The alarm name is optional, and both the tag path and alarm name support wildcards ('*'). For example, if only the tag path was specified, this function would return whether any alarm on the tag was active. The pollRate parameter is only applicable in the client scope.

Syntax

isAlarmActive(tagPath, [alarmName], [pollRate])

Examples
 isAlarmActive("Tanks/Temp", "Tank_Temp_High") //when the Tank_Temp_High alarm is active then this expression returns True.