# IA Scripting Module - How to write updated AlarmStates

**URL:** <https://forum.inductiveautomation.com/t/ia-scripting-module-how-to-write-updated-alarmstates/6280>\
**Category:** 3rd Party Modules\
**Created:** [April 19, 2013, 4:21pm UTC](https://forum.inductiveautomation.com/t/ia-scripting-module-how-to-write-updated-alarmstates/6280 "2013-04-19T16:21:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeffhoagland](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@jeffhoagland](https://forum.inductiveautomation.com/u/jeffhoagland)\
**Post date:** [April 19, 2013, 4:21pm UTC](https://forum.inductiveautomation.com/t/ia-scripting-module-how-to-write-updated-alarmstates/6280/1 "2013-04-19T16:21:43Z")

</div>

Maybe I’m just too green in Python yet, I don’t know, but I’m drawing a blank on this one.

I was able to getAlarmStates to a dictionary register, and then send the individual values to my UI

the UI _appears_ to be ready to “Save” the changes back to the tag where I got them from, but I’m drawing a blank on how to do a “setAlarmStates” - or is there a setAlarmStates function, and I’m just not seeing it?

---

<div class="post-metadata">

**Author:** ![jeffhoagland](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@jeffhoagland](https://forum.inductiveautomation.com/u/jeffhoagland)\
**Post date:** [April 19, 2013, 4:24pm UTC](https://forum.inductiveautomation.com/t/ia-scripting-module-how-to-write-updated-alarmstates/6280/2 "2013-04-19T16:24:06Z")

</div>

Sorry, wouldn’t you know it, as soon as I hit Send, I found the answer in the EditTag description. Sorry to bother you.
