# Custom Subject Alarm State

**URL:** <https://forum.inductiveautomation.com/t/custom-subject-alarm-state/9432>\
**Category:** Ignition\
**Created:** [December 11, 2014, 6:55pm UTC](https://forum.inductiveautomation.com/t/custom-subject-alarm-state/9432 "2014-12-11T18:55:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [December 11, 2014, 6:55pm UTC](https://forum.inductiveautomation.com/t/custom-subject-alarm-state/9432/1 "2014-12-11T18:55:02Z")

</div>

I have an alarm with a custom subject. in the subject i have the {State} parameter.

this seems to work fine when the alarm goes active, but when the alarm clears the subject still says active. why does the subject {State} not change to clear when the email is sent?

---

<div class="post-metadata">

**Author:** ![Paolo.Mariani](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paolo.mariani/32/3285_2.png) [@Paolo.Mariani](https://forum.inductiveautomation.com/u/Paolo.Mariani)\
**Post date:** [April 3, 2015, 6:46pm UTC](https://forum.inductiveautomation.com/t/custom-subject-alarm-state/9432/2 "2015-04-03T18:46:20Z")

</div>

When an alarm goes into an active state, an alarm event is created for that alarm. This is basically a snapshot of all relevant alarm and tag info. When the alarm goes active, it captures the {state} (which is active) and puts that in your subject for the alarm event. When your alarm is cleared, it doesn’t create a new alarm event.
