Get Acknowledgement Notes

I was finally able to do this with some help from one of the Devs. I couldn't find the documentation for dealing with the EventData object returned from getAckData(), but this is what the Dev suggested and I've confirmed it works. You'll want to re-write the logic for your approach.

from com.inductiveautomation.ignition.common.alarming.config import CommonAlarmProperties

queryResult = system.alarm.queryStatus(path="*"+path+"*",state=['ActiveAcked'])
notes = queryResult[0].getAckData().get(CommonAlarmProperties.AckNotes)
system.perspective.print(str(notes))
4 Likes