# Assosciated Alarm data ActiveData vs ClearedData

**URL:** <https://forum.inductiveautomation.com/t/assosciated-alarm-data-activedata-vs-cleareddata/94771>\
**Category:** Ignition\
**Tags:** scripting, perspective\
**Created:** [August 16, 2024, 8:06pm UTC](https://forum.inductiveautomation.com/t/assosciated-alarm-data-activedata-vs-cleareddata/94771 "2024-08-16T20:06:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jacob\_N](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@Jacob\_N](https://forum.inductiveautomation.com/u/Jacob_N)\
**Post date:** [August 16, 2024, 8:06pm UTC](https://forum.inductiveautomation.com/t/assosciated-alarm-data-activedata-vs-cleareddata/94771/1 "2024-08-16T20:06:53Z")

</div>

Hello,

I'm having an issue understanding some of the functions around associated alarm data. In the script that I'm referencing they use both `alarmEvent.getClearedData()` and `alarmEvent.getActiveData()`. I've tried searching around a bit and other than some API documentations and a couple threads on here, I've failed to understand what the difference between these two functions are. Anyone able to point me in the right direction or explain the difference?
