# SetpointA does not appear in active data

**URL:** <https://forum.inductiveautomation.com/t/setpointa-does-not-appear-in-active-data/22316>\
**Category:** Ignition\
**Created:** [February 4, 2019, 1:20pm UTC](https://forum.inductiveautomation.com/t/setpointa-does-not-appear-in-active-data/22316 "2019-02-04T13:20:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adolfo.rafael.martin](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@adolfo.rafael.martin](https://forum.inductiveautomation.com/u/adolfo.rafael.martin)\
**Post date:** [February 4, 2019, 1:20pm UTC](https://forum.inductiveautomation.com/t/setpointa-does-not-appear-in-active-data/22316/1 "2019-02-04T13:20:48Z")

</div>

SetpointA does not appear in active data when an alarm is created e.g.

Data Type = Boolean  
Mode = “Not Equal” (to Setpoint)  
Setpoint = 0

Yet, it appears in others that are Float and alarm when “Above Setpoint”.

Code used is:

alarms = system.alarm.queryStatus(State=[“ActiveUnacked”,“ActiveAcked”,“ClearUnacked”,“ClearAcked”], includeShelved=“false”)  
alarms\_array = []  
for alarm in alarms:  
&nbsp;&nbsp;&nbsp;alarm\_object = {}  
&nbsp;&nbsp;&nbsp;alarm\_object[“uuid”] = alarm.getId()  
&nbsp;&nbsp;&nbsp;alarm\_object[“alarming”] = alarm.getState().isActive()  
&nbsp;&nbsp;&nbsp;event\_object = alarm.getActiveData()  
&nbsp;&nbsp;&nbsp;if str(event\_object) != ‘None’:  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;event\_hash = {}  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for prop in event\_object.getProperties():  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prop\_name = prop.getName()  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if prop\_name == ‘setpointA’:  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prop\_value = str(event\_object.get(prop))  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;event\_hash[“setpointA”] = prop\_value  
response[“alarms”] = alarms\_array  
return {‘json’: response}

Is this a bug?
