Hello There,
Is there anyway to write a query to return the number of active alarms inside of a tag folder path?
Many Thanks
Hello There,
Is there anyway to write a query to return the number of active alarms inside of a tag folder path?
Many Thanks
Have you looked at using the script function system.alarm.queryStatus()? You should be able to set your path to the tag folder with a wildcard at the end to look at everything in the folder.
Thank you. You’re right - I ended up accomplishing it via expression
runScript(“len(system.alarm.queryStatus(source=[’” + “FILTER1” +“FILTER2”+
“*’],state=[‘ActiveAcked’,‘ActiveUnacked’]))”)