I can’t seam to figure out how the built in ActiveDuration property for an alarm journal is calculated. I would have thought it would be the time between activeTime and clearTime. But it doesn’t even come close to that see attached shot. I must be missing something here.
[code]from com.inductiveautomation.ignition.common.alarming.config import CommonAlarmProperties
results = system.alarm.queryJournal(journalName=“journal”,
for event in results:
x = [ event.get(CommonAlarmProperties.EventId),event.getName(), event.get(CommonAlarmProperties.ActiveTime),