# Query Ack User from Alarm Events

**URL:** <https://forum.inductiveautomation.com/t/query-ack-user-from-alarm-events/49851>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [August 12, 2021, 3:39pm UTC](https://forum.inductiveautomation.com/t/query-ack-user-from-alarm-events/49851 "2021-08-12T15:39:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmgriggs93](https://avatars.discourse-cdn.com/v4/letter/c/5f8ce5/32.png) [@cmgriggs93](https://forum.inductiveautomation.com/u/cmgriggs93)\
**Post date:** [August 12, 2021, 3:39pm UTC](https://forum.inductiveautomation.com/t/query-ack-user-from-alarm-events/49851/1 "2021-08-12T15:39:54Z")

</div>

I want to provide the option to export the alarm event data for reporting purposes. My users want an excel document with the alarm source, event type, event time, ack user, and ack notes. I have not been able to get system.alarm.queryJournal to return ack-user or ack-notes. Any ideas?

start = self.getSibling(DateTimeInput\_StartTime).props.value  
end = self.getSibling(DateTimeInput\_EndTime).props.value

journal = system.alarm.queryJournal(journalName=Substation, startDate=start, endDate=end, includeData=True).getDataset()

data = system.dataset.toExcel(1, [journal])  
fileName = Substation\_Journal.xlsx  
system.perspective.download(fileName,data)
