# Acknowledged the Individual Alarms in Ignition (V7.6.4)

**URL:** <https://forum.inductiveautomation.com/t/acknowledged-the-individual-alarms-in-ignition-v7-6-4/7786>\
**Category:** Ignition\
**Created:** [January 6, 2014, 10:31am UTC](https://forum.inductiveautomation.com/t/acknowledged-the-individual-alarms-in-ignition-v7-6-4/7786 "2014-01-06T10:31:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Niks](https://avatars.discourse-cdn.com/v4/letter/n/e19b73/32.png) [@Niks](https://forum.inductiveautomation.com/u/Niks)\
**Post date:** [January 6, 2014, 10:31am UTC](https://forum.inductiveautomation.com/t/acknowledged-the-individual-alarms-in-ignition-v7-6-4/7786/1 "2014-01-06T10:31:38Z")

</div>

Hello,

By using the script belowall alarms are getting acknowledge at a time. we need to ack individual alarm.

[color=#0000BF]#get the list of unacknowledged alarms  
results = system.alarm.queryStatus(priority=[‘1’,‘2’], state=[“ClearUnacked”, “ActiveUnacked”])  
#walk through dataset, collecting EventIds  
uuid = ‘’  
i = 0  
for row in results:  
uuid = [str(data.getValueAt(i,‘EventId’))]

```
#acknowledge alarms
system.alarm.acknowledge(uuid, "notes")
i+=1[/color]

```

Can anybody suggest requried modification in above script.  
I belive the issue seems to be with the addressing the TAGPATH for the tags from the UDT.

---

<div class="post-metadata">

**Author:** ![adamaustin](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@adamaustin](https://forum.inductiveautomation.com/u/adamaustin)\
**Post date:** [January 6, 2014, 5:11pm UTC](https://forum.inductiveautomation.com/t/acknowledged-the-individual-alarms-in-ignition-v7-6-4/7786/2 "2014-01-06T17:11:49Z")

</div>

You need to filter by the [path](http://www.inductiveautomation.com/support/usermanuals/ignition/system_alarm_querystatus.htm) also. I don’t have 7.6.x installed but something like this should work:

```auto
#get the list of unacknowledged alarms
results = system.alarm.queryStatus(priority=['1','2'], state=["ClearUnacked", "ActiveUnacked"], path=["MYTAG"])
#walk through dataset, collecting EventIds
uuid = ''
i = 0
for row in results:
	uuid = [str(data.getValueAt(i,'EventId'))]

	#acknowledge alarms
	system.alarm.acknowledge(uuid, "notes")
	i+=1
```
