system.alarm.queryStatus Exception with example in Docs

This example from the docs generates an Exception:

props = [("Group", "=", "value1"), ("Group", "=", "value2")]
state = ["ActiveUnacked", "ActiveAcked"]
alarms = system.alarm.queryStatus(any_properties = props, state = state)

Run from: 8.1.22, Designer script console.

If nonempty props es passed as argument for any_properties or all_properties an Exception is generated.

1 Like

This appears to be an issue specific to 8.1.22. I'm able to run this code on 8.1.17, but my coworker on 8.1.22 experienced the same exception. This was fixed in the nightly release for 8.1.23, and should be in the official release soon.

1 Like