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.
Test:
If nonempty props es passed as argument for any_properties or all_properties an Exception is generated.