Alarm query status

We are trying to run a client tag change script on an ignition edge install.
in the script we are running the system.alarm.querystatus function but it doesn’t seem to be working.

Is there any issues with running this function on edge or how we are doing it?

I don’t see anything in the code that would limit this in Edge.

What isn’t working? If you’d like troubleshooting help, post your code and any error messages with three backticks (```) on a line above and below code and errors.

In case it’s helpful, here’s an example from an expression tag that definitely works:

// Count active unacknowledged medium & high priority alarms.
runScript('len(system.alarm.queryStatus(priority=[2,3], state=["ActiveUnacked"]))', 2500)
1 Like

The issue was found that the client didn’t have the user rights to acknowledge alarms.