# Alarm Notification custom message - Perspective

**URL:** <https://forum.inductiveautomation.com/t/alarm-notification-custom-message-perspective/52781>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [November 5, 2021, 2:57pm UTC](https://forum.inductiveautomation.com/t/alarm-notification-custom-message-perspective/52781 "2021-11-05T14:57:55Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![laurie.croteau](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@laurie.croteau](https://forum.inductiveautomation.com/u/laurie.croteau)\
**Post date:** [November 5, 2021, 2:57pm UTC](https://forum.inductiveautomation.com/t/alarm-notification-custom-message-perspective/52781/1 "2021-11-05T14:57:55Z")

</div>

Hi everyone,  
I’m sending an email, but the default message and subject are used. I have configured my custom message as well as my custom subject, the pipeline just needs to use it. Here the custom message:

```auto
u"Le unwinder {UnwID} de la ligne {LineID} a dépassé la limite maximum ajusté à {setpoint} mm avec une valeur de {EndDiameter} mm".format(UnwID = {UnwinderId},LineID = {LineId}, setpoint = {setpointA}, EndDiameter = {[.]Unwinder_EndDiameter})

```

Here the custom subject:

```auto
u"Changement du diamètre de fin sur un Unwinder"

```

Here is the pipeline used:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/5/556d3291e03e2ad950617f1e911e74bbcf03e598.png)

And this is the message I get:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/8/b8b929d924885e2a0b859fc26d29a4b2719a5acd.png)

Do I need to change Message and Subject into the pipeline properties?

---

<div class="post-metadata">

**Author:** ![laurie.croteau](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@laurie.croteau](https://forum.inductiveautomation.com/u/laurie.croteau)\
**Post date:** [November 9, 2021, 6:04pm UTC](https://forum.inductiveautomation.com/t/alarm-notification-custom-message-perspective/52781/2 "2021-11-09T18:04:51Z")

</div>

No one?

---

<div class="post-metadata">

**Author:** ![laurie.croteau](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@laurie.croteau](https://forum.inductiveautomation.com/u/laurie.croteau)\
**Post date:** [November 12, 2021, 4:06pm UTC](https://forum.inductiveautomation.com/t/alarm-notification-custom-message-perspective/52781/3 "2021-11-12T16:06:45Z")

</div>

I found my problem!  
Custom message and custom subject don’t take the functionnality “u” for french accent.

Can someone d’Ignition fix that?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 12, 2021, 4:07pm UTC](https://forum.inductiveautomation.com/t/alarm-notification-custom-message-perspective/52781/4 "2021-11-12T16:07:51Z")

</div>

There’s nothing to fix, the `u` prefix is something you use when writing Python code, and these are expressions that you’re using here.

---

<div class="post-metadata">

**Author:** ![laurie.croteau](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@laurie.croteau](https://forum.inductiveautomation.com/u/laurie.croteau)\
**Post date:** [November 12, 2021, 4:08pm UTC](https://forum.inductiveautomation.com/t/alarm-notification-custom-message-perspective/52781/5 "2021-11-12T16:08:40Z")

</div>

Is there something I can use to keep proper accent?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 12, 2021, 4:11pm UTC](https://forum.inductiveautomation.com/t/alarm-notification-custom-message-perspective/52781/6 "2021-11-12T16:11:01Z")

</div>

Hmm, they don’t show up as it is now? There may be something else wrong then…

---

<div class="post-metadata">

**Author:** ![laurie.croteau](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@laurie.croteau](https://forum.inductiveautomation.com/u/laurie.croteau)\
**Post date:** [November 12, 2021, 4:18pm UTC](https://forum.inductiveautomation.com/t/alarm-notification-custom-message-perspective/52781/7 "2021-11-12T16:18:54Z")

</div>

Nevermind It keep accent! But It don’t take my message, only the subject is taken. Is it because I use `.format` ?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 12, 2021, 4:19pm UTC](https://forum.inductiveautomation.com/t/alarm-notification-custom-message-perspective/52781/8 "2021-11-12T16:19:43Z")

</div>

Yes, because you’ve written what appears to be Python code in there, referencing properties from… somewhere?

edit: ah, probably those are tags?

---

<div class="post-metadata">

**Author:** ![laurie.croteau](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@laurie.croteau](https://forum.inductiveautomation.com/u/laurie.croteau)\
**Post date:** [November 12, 2021, 4:25pm UTC](https://forum.inductiveautomation.com/t/alarm-notification-custom-message-perspective/52781/9 "2021-11-12T16:25:58Z")

</div>

Tags and UDT property  
What is the code language in expression?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 12, 2021, 4:26pm UTC](https://forum.inductiveautomation.com/t/alarm-notification-custom-message-perspective/52781/10 "2021-11-12T16:26:55Z")

</div>

It’s its own thing. The “expression language”.

[https://docs.inductiveautomation.com/display/DOC81/Expression+Language+and+Syntax](https://docs.inductiveautomation.com/display/DOC81/Expression+Language+and+Syntax)

Your message should probably look something like this:

```auto
"Le unwinder {UnwID} de la ligne {LineID} a dépassé la limite maximum ajusté à {setpoint} mm avec une valeur de {EndDiameter} mm"

```
