[BUG-13654]ackUser and ackNnotes not being stored in alarm journal

#1

Although system.alarm.acknowledge(alarmIds, [notes], username) function has username as one of the parameters, I can’t find where it is stored in the database.

I would like to show the user who acked or cleared the alarm. Is there an easy way to find out? Do I need to create a custom alarm attribute to store it?

1 Like

Ignition 8 ackNotes and ackUser missing from alarm_events_data
#2

Hi sudipta.tripathy,

If you add the system.alarm.acknowledge function with a username parameter in a gateway event script such as the start and shutdown you will be able to see who acknowledged the script based whose username you have used in the wrapper logs. below is a link that should help you.
https://docs.inductiveautomation.com/display/DOC80/system.alarm.acknowledge

Thanks
Anthony

0 Likes

#3

What I would like to do is to show who acknowledged the alarms by querying the alarm_event and alarm_event_data tables on a perspective page.

I was under the impression that the user name gets stored in one of the alarm tables in the database.

0 Likes

#4

Hi sudipath.tripathy,

This information should be stored in the alarm journal table but currently it is not. We have an open ticket tracking this issue and will try and resolve as soon as possible.
https://docs.inductiveautomation.com/display/DOC80/Alarm+Journal

Thanks,
Anthony

0 Likes

#5

This issue was fixed in the 8.0.2 nightly build that was uploaded today (5/8).

0 Likes