how to hide auto-ack alarms?
Gateway General Alarm Setting:
Was anyone able to figure this out? I’m needing to hide auto-acknowledged alarms too.
You can use the filterAlarm extension function in the alarm journal table to do it. I think a script like this will do it:
ak = alarmEvent.getAckData()
if ak:
ak = str(ak)
ak = ak.split(':',1)[1].rsplit(',')[0]
if ak == 'Auto-Ack':
return False
else:
return True
Yeah! Thank you very much!
ak = alarmEvent.get(“systemAck”)
if ak == True:
return False
else:
return True
Ugh. Use:
return not ak