# Creating report from alarm data - getting user who acknowlegded alarm and when?

**URL:** <https://forum.inductiveautomation.com/t/creating-report-from-alarm-data-getting-user-who-acknowlegded-alarm-and-when/60450>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [June 7, 2022, 2:18pm UTC](https://forum.inductiveautomation.com/t/creating-report-from-alarm-data-getting-user-who-acknowlegded-alarm-and-when/60450 "2022-06-07T14:18:09Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 7, 2022, 10:10pm UTC](https://forum.inductiveautomation.com/t/creating-report-from-alarm-data-getting-user-who-acknowlegded-alarm-and-when/60450/5 "2022-06-07T22:10:58Z")

</div>

> [@bkarabinchak.psi](#):
>
> I see `.ActiveTime` and `.ClearTime`. I need the time some user actually cleared the alarm - I am assuming that is `.ClearTime` is that right?

Pretty sure that's the case.

> [@bkarabinchak.psi](#):
>
> And I would also need to get the user associated with who cleared the alarm - would that be `.AckUser`? I guess I would have expected there to be a `.ClearedUser` since acknowledging and clearing an event seem to be different events.

There's no such thing as a clear user, because they're different (orthogonal) events. There are two binaries that compose into the four (ignoring enabled/disabled) possible states for an alarm:

| | unacked | acked |
| --- | --- | --- |
| active | active, unacked | actived, acked |
| cleared | clear, unacked | cleared, acked |

So we capture an AckUser (ideally) when you move from unacked -\> acked for a given event, but there's no user associated with an active -\> clear transition, because that's happening whenever the alarm's condition is no longer met.

---

_[View the full topic](https://forum.inductiveautomation.com/t/creating-report-from-alarm-data-getting-user-who-acknowlegded-alarm-and-when/60450)._
