I’m probably overlooking something, but in the Alarm acknowledgement script, for the life of me I can’t figure out how to just get the acknowledge note so I can put it in a separate database for some other recordkeeping we’re doing. I have gotten just about everything else, but ackNotes always comes up empty.
Ive done code like
for entry in alarmEvent.getProperties():
logger.info("{} = {}".format(entry, alarmEvent.get(entry)))
but acknotes isn’t one of the properties.
I see ackNotes is in the alarmEvent.ackData, but I can’t figure out how to get them out of there - not with ackData.ackNotes or ackData[“ackNotes”].
Sorry in advance if I missed something totally obvious.