# Alert notification groups

**URL:** <https://forum.inductiveautomation.com/t/alert-notification-groups/3100>\
**Category:** Ignition\
**Created:** [July 15, 2011, 11:39am UTC](https://forum.inductiveautomation.com/t/alert-notification-groups/3100 "2011-07-15T11:39:16Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [July 20, 2011, 10:53pm UTC](https://forum.inductiveautomation.com/t/alert-notification-groups/3100/21 "2011-07-20T22:53:03Z")

</div>

The high isn’t a problem- that’s a “register” message so that the correct state shows up in the status system.

Ok, so that all looks correct, unless I’m missing something about the time. Since you were the one changing the values, do the messages seem to line up with what you were doing? I see the last three were about 5 seconds apart- is this accurate?

I’m still not exactly clear on what the problem is we’re trying to track down: that the email messages are off state, or that the current status properties aren’t updated quickly?

Regards,

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [July 21, 2011, 1:17am UTC](https://forum.inductiveautomation.com/t/alert-notification-groups/3100/22 "2011-07-21T01:17:38Z")

</div>

yeah everything seems to line up time wise.

Maybe I am going about this wrong. My thinking was that the State\_Name would go low when a low alarm was active, and then go back to blank when the alarm cleared. Maybe I should use the alarm\_type in conjunction with the state\_name???

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [July 21, 2011, 3:38pm UTC](https://forum.inductiveautomation.com/t/alert-notification-groups/3100/23 "2011-07-21T15:38:33Z")

</div>

Ok, so talking purely about the email message (and not the properties under the tag), you’re unsure why STATE\_NAME is not empty when the alarm is clear, right?

In that case, you’re correct in your last message that you should incorporate ALARM\_TYPE into your message. When the email is created, the perspective is not “Here’s the current state”, but instead “Here’s what happened to a state”.

So, say the tag was in the low state range, and you changed the value into something in the high state range. You’ll see two events generated, a clear for the low (“Low state cleared”) and an active message (“High state active”).

Most custom messages are something like the following:

```auto
At {[TIME]}, {[STATE_NAME]} became {[ALARM_TYPE]} for {[DISPLAY_PATH]}
```

Let me know if I’m still off track!

Regards,

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [July 21, 2011, 3:59pm UTC](https://forum.inductiveautomation.com/t/alert-notification-groups/3100/24 "2011-07-21T15:59:46Z")

</div>

Yeah I understand better now. Makes sense now, I guess I was under the impression that the state\_name would follow what is in the .alertcurrentstate of the tag. regardless, I feel stupid!

[Previous page](https://forum.inductiveautomation.com/t/alert-notification-groups/3100.md?page=1)
