# Refresh alarm status table when acknowledging alarm

**URL:** <https://forum.inductiveautomation.com/t/refresh-alarm-status-table-when-acknowledging-alarm/79039>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [September 12, 2023, 6:58pm UTC](https://forum.inductiveautomation.com/t/refresh-alarm-status-table-when-acknowledging-alarm/79039 "2023-09-12T18:58:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Ar](https://avatars.discourse-cdn.com/v4/letter/k/b4bc9f/32.png) [@Kevin\_Ar](https://forum.inductiveautomation.com/u/Kevin_Ar)\
**Post date:** [September 12, 2023, 6:58pm UTC](https://forum.inductiveautomation.com/t/refresh-alarm-status-table-when-acknowledging-alarm/79039/1 "2023-09-12T18:58:23Z")

</div>

Is there a way to manually trigger a refresh of the Alarm Status Table in Perspective when the user acknowledges alarms?

We have an alarm table with a slow refresh rate that filters to only show unacknowledged alarms. When the user acknowledges an alarm, it does not disappear from the table until the next refresh which can take a while and causes the user to think the acknowledge didn't work.

---

<div class="post-metadata">

**Author:** ![Hayden\_Watson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/hayden_watson/32/48792_2.png) [@Hayden\_Watson](https://forum.inductiveautomation.com/u/Hayden_Watson)\
**Post date:** [September 14, 2023, 7:05am UTC](https://forum.inductiveautomation.com/t/refresh-alarm-status-table-when-acknowledging-alarm/79039/2 "2023-09-14T07:05:22Z")

</div>

You can add a custom method on the alarm status table, by right clicking it and going to configure scripts. In the custom methods add a function called whatever, eg. 'refresh'

In this custom method add the line `self.refreshData()`

You can then add a binding on the alarm status table, I just add an expression binding reading the system tags like, `[System]Gateway/Alarming/Active and Acked` and `[System]Gateway/Alarming/Clear and Acked`

Add a script transform onto this expression that calls your custom method, `self.refresh()`

---

<div class="post-metadata">

**Author:** ![Kevin\_Ar](https://avatars.discourse-cdn.com/v4/letter/k/b4bc9f/32.png) [@Kevin\_Ar](https://forum.inductiveautomation.com/u/Kevin_Ar)\
**Post date:** [September 28, 2023, 10:42pm UTC](https://forum.inductiveautomation.com/t/refresh-alarm-status-table-when-acknowledging-alarm/79039/3 "2023-09-28T22:42:42Z")

</div>

That works, thanks!
