# Individial Alarm Acknowledge Button

**URL:** <https://forum.inductiveautomation.com/t/individial-alarm-acknowledge-button/70317>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [February 24, 2023, 10:03pm UTC](https://forum.inductiveautomation.com/t/individial-alarm-acknowledge-button/70317 "2023-02-24T22:03:17Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [February 25, 2023, 1:31pm UTC](https://forum.inductiveautomation.com/t/individial-alarm-acknowledge-button/70317/6 "2023-02-25T13:31:44Z")

</div>

> [@andrews](#):
>
> but the other two examples _do not_

I don't see a method in the examples for looking up the UUID, so that's probably what is making this difficult.

Here is a method I have developed for doing this:

```auto
path = '[Sample_Tags]Ramp/Ramp3/Alarms/High Alarm' #Example Path
#The above path can be shortened to be more inclusive
#Examples:
#'[Sample_Tags]Ramp/Ramp3` #This would clear all alarms on the ramp3 tag
#'[Sample_Tags]Ramp #This would clear all alarms on all of the tags in the Ramp folder
#'[Sample_Tags] #This would clear all alarms within the provider
#'' or #None #This would clear all alarms

def getSourcePath(path):
	sourcePath = path.replace('[', 'prov:').replace(']', ':/tag:').replace('/Alarms/', ':/alm:', 1) + '*'
	return sourcePath
sourcePath = getSourcePath(path)
alarms = system.alarm.queryStatus(path = [sourcePath])
alarmIds = []
for alarm in alarms:
	UUID = str(alarm.id)
	alarmIds.append(UUID)
notes = None #If notes are required, then a method for obtaining this input will have to be developed and added here
system.alarm.acknowledge(alarmIds, notes)

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/individial-alarm-acknowledge-button/70317)._
