# How to pull Associated Alarm Data from the alarm event list generated with system.alarm.queryStatus?

**URL:** <https://forum.inductiveautomation.com/t/how-to-pull-associated-alarm-data-from-the-alarm-event-list-generated-with-system-alarm-querystatus/27527>\
**Category:** Ignition\
**Created:** [August 16, 2019, 6:07pm UTC](https://forum.inductiveautomation.com/t/how-to-pull-associated-alarm-data-from-the-alarm-event-list-generated-with-system-alarm-querystatus/27527 "2019-08-16T18:07:11Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![mattn1](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@mattn1](https://forum.inductiveautomation.com/u/mattn1)\
**Post date:** [September 6, 2019, 6:33pm UTC](https://forum.inductiveautomation.com/t/how-to-pull-associated-alarm-data-from-the-alarm-event-list-generated-with-system-alarm-querystatus/27527/9 "2019-09-06T18:33:46Z")

</div>

After restarting my gateway a few times I am now getting the name of the associated alarm data as I titled it.  
so when I run:

```auto
results = system.alarm.queryStatus(state=["ActiveUnacked"])
for Alarms in results:
	for Properties in Alarms.getActiveData().getProperties():
		print Properties

```

I now am getting:  
mode  
setpointA  
eventValue  
TTS  
name  
AreaDesc  
eventTime  
priority  
displayPath  
enabled

Very confusing that it wasn’t returning as TTS initially, but now it does so I can grab the data I need. Hopefully it doesn’t decide to switch back.

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-pull-associated-alarm-data-from-the-alarm-event-list-generated-with-system-alarm-querystatus/27527)._
