Individial Alarm Acknowledge Button

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:

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)