I recently updated to 8.1.9 and system.alarm.queryStatus doesn’t seem to honor includeShelved=True anymore. I did a simple experiment by running a query in the script console before and after shelving:
a = system.alarm.queryStatus(source=['*/Device_1/main_alarm*'], includeShelved=True) print a
It returns the alarm when not shelved and returns an empty array when it is shelved. Am I missing something?