From the docs we're told that system.util.queryStatus() returns AlarmQueryResult see here
When I run it in the design console I get this:
#Pull all alarms
alarms = system.alarm.queryStatus(state=["ActiveUnacked", "ActiveAcked"], source=["*AJAX Alarm*"])
type(alarms)
alarms.getDataset()
# I get this
>>>
<type 'java.util.Collections$UnmodifiableRandomAccessList'> # not AlarmQueryResult!!!
Traceback (most recent call last):
File "<input>", line 4, in <module>
AttributeError: 'java.util.Collections$UnmodifiableRandomAccessList' object has no attribute 'getDataset'
>>>
Am I missing something? I need to turn the alarms into a dataset
I'm on 8.3.1