# Correct Syntax Group Email Expressions

**URL:** <https://forum.inductiveautomation.com/t/correct-syntax-group-email-expressions/2312>\
**Category:** Ignition\
**Created:** [November 2, 2010, 3:37pm UTC](https://forum.inductiveautomation.com/t/correct-syntax-group-email-expressions/2312 "2010-11-02T15:37:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aidamcg](https://avatars.discourse-cdn.com/v4/letter/a/90db22/32.png) [@aidamcg](https://forum.inductiveautomation.com/u/aidamcg)\
**Post date:** [November 2, 2010, 3:37pm UTC](https://forum.inductiveautomation.com/t/correct-syntax-group-email-expressions/2312/1 "2010-11-02T15:37:35Z")

</div>

Hi

I am having some problems getting the group distribution email function working. What is the correct syntax for the expression to filter by state severity. I am using this but I get an coerce from string to integer error when I try running it.  
‘{[STATE\_SEVERITY]} = 4’

Thanks

Aidan

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [November 2, 2010, 4:08pm UTC](https://forum.inductiveautomation.com/t/correct-syntax-group-email-expressions/2312/2 "2010-11-02T16:08:58Z")

</div>

The expression should be the following:`{[SEVERITY]} = 4`

---

<div class="post-metadata">

**Author:** ![aidamcg](https://avatars.discourse-cdn.com/v4/letter/a/90db22/32.png) [@aidamcg](https://forum.inductiveautomation.com/u/aidamcg)\
**Post date:** [November 3, 2010, 10:52am UTC](https://forum.inductiveautomation.com/t/correct-syntax-group-email-expressions/2312/3 "2010-11-03T10:52:44Z")

</div>

Thanks Travis
