# ACK all from external button

**URL:** <https://forum.inductiveautomation.com/t/ack-all-from-external-button/6680>\
**Category:** Ignition\
**Created:** [June 10, 2013, 5:09pm UTC](https://forum.inductiveautomation.com/t/ack-all-from-external-button/6680 "2013-06-10T17:09:41Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 11, 2013, 6:07pm UTC](https://forum.inductiveautomation.com/t/ack-all-from-external-button/6680/5 "2013-06-11T18:07:15Z")

</div>

With slightly less verbosity:

```auto
alarmEvents = system.alarm.queryStatus(state=["ActiveUnacked"])
alarmIds = [str(event.getId()) for event in alarmEvents]

system.alarm.acknowledge(alarmIds, "acked all from script")
```

---

_[View the full topic](https://forum.inductiveautomation.com/t/ack-all-from-external-button/6680)._
