# Custom alarm message help

**URL:** <https://forum.inductiveautomation.com/t/custom-alarm-message-help/7474>\
**Category:** Ignition\
**Created:** [October 27, 2013, 6:31pm UTC](https://forum.inductiveautomation.com/t/custom-alarm-message-help/7474 "2013-10-27T18:31:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Toby](https://avatars.discourse-cdn.com/v4/letter/t/7993a0/32.png) [@Toby](https://forum.inductiveautomation.com/u/Toby)\
**Post date:** [October 27, 2013, 6:31pm UTC](https://forum.inductiveautomation.com/t/custom-alarm-message-help/7474/1 "2013-10-27T18:31:20Z")

</div>

Hi I am running ignition 7.6.3 I would like to create a custom alarm message with multiple tag references IE…  
(Subject)  
Control station 5 high temperature alarm  
(Body)  
Unit Actual Setpoint  
CS5 39 32

Cooler Temps  
Raw Cooler  
CS1 34 32  
CS2 35 32  
Shipping Cooler  
CS3 38 32  
CS4 39 32  
CS5 39 32

I have worked with earlier versions of ignition where the custom message body editor functioned similar to a word processer where you could reference tag values in the text body without using an expression binding… Please help me find a way to work around this.

Thanks for the help ![:thumb_left:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/e26afb081ddde6df016df6ee49159cf56aaca688.gif ":thumb\_left:")

---

<div class="post-metadata">

**Author:** ![Toby](https://avatars.discourse-cdn.com/v4/letter/t/7993a0/32.png) [@Toby](https://forum.inductiveautomation.com/u/Toby)\
**Post date:** [October 28, 2013, 6:01pm UTC](https://forum.inductiveautomation.com/t/custom-alarm-message-help/7474/2 "2013-10-28T18:01:30Z")

</div>

![:prayer:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/e5a7e3b63facc151ea73e3b45db7bdb3d4bdc316.gif ":prayer:") Thank you Tech support

Here is the solution tech support came up with, and for all you code gurus it’s probably an elementary task but for the point and click users like me that are learning the basics you can use “/n” within the double quote to start a new line.  
Here is an example of an alarm email I made along with the expression I used.

The email formatting actually looks better than it dose in the post every thing lines up nicely in the email.

Unit CS\_5 Is reading a high temperature of 30° With a setpoint of 30°

Raw Cooler Temps

Unit Temp Setpoint  
CS\_5 30° 30°  
CS\_6 30° 30°  
CS\_7 30° 30°  
CS\_8 30° 30°

Shipping Cooler Temps

Unit Temp Setpoint  
CS\_33 33° 33°  
CS\_34 33° 33°  
CS\_35 33° 33°  
CS\_36 33° 33°  
CS\_37 36° 36°  
CS\_38 36° 36°

Expression  
“Unit CS\_” + “5” + " Is reading a high temperature of " + {[~]Ref/Units/CS\_5/Temp} + “°” +  
" With a setpoint of " + {[~]Ref/Units/CS\_5/Setpoint} + “°” +

“\n \n” +

“Raw Cooler Temps \n \n” +  
“Unit Temp Setpoint \n” + “CS\_5 " + {[~]Ref/Units/CS\_5/Temp} + “°” +” " + {[~]Ref/Units/CS\_5/Setpoint} + “°” +  
“\n” +  
“CS\_6 " + {[~]Ref/Units/CS\_6/Temp} + “°” +” " + {[~]Ref/Units/CS\_6/Setpoint} + “°” +  
“\n” +  
“CS\_7 " + {[~]Ref/Units/CS\_7/Temp} + “°” +” " + {[~]Ref/Units/CS\_7/Setpoint} + “°” +  
“\n” +  
“CS\_8 " + {[~]Ref/Units/CS\_8/Temp} + “°” +” " + {[~]Ref/Units/CS\_6/Setpoint} + “°” +  
“\n \n” +  
“Shipping Cooler Temps \n \n” +  
“Unit Temp Setpoint \n” +  
“CS\_33 " + {[~]Ref/Units/CS\_33/Temp} + “°” +” " + {[~]Ref/Units/CS\_33/Setpoint} + “°” +  
“\n” +  
“CS\_34 " + {[~]Ref/Units/CS\_34/Temp} + “°” +” " + {[~]Ref/Units/CS\_34/Setpoint} + “°” +  
“\n” +  
“CS\_35 " + {[~]Ref/Units/CS\_35/Temp} + “°” +” " + {[~]Ref/Units/CS\_35/Setpoint} + “°” +  
“\n” +  
“CS\_36 " + {[~]Ref/Units/CS\_36/Temp} + “°” +” " + {[~]Ref/Units/CS\_36/Setpoint} + “°” +  
“\n” +  
“CS\_37 " + {[~]Ref/Units/CS\_37/Temp} + “°” +” " + {[~]Ref/Units/CS\_37/Setpoint} + “°” +  
“\n” +  
“CS\_38 " + {[~]Ref/Units/CS\_38/Temp} + “°” +” " + {[~]Ref/Units/CS\_38/Setpoint} + “°” +  
“\n”

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [November 1, 2013, 4:55pm UTC](https://forum.inductiveautomation.com/t/custom-alarm-message-help/7474/3 "2013-11-01T16:55:59Z")

</div>

Toby,

Thanks for sharing the solution!
