LESSON

Custom Email, SMS, and Voice Scripts

Description

Learn how to customize the message that is sent out to users via email, SMS, or voice.

Video recorded using: Ignition 7.7

Transcript

(open in window)

[00:00] Ignition has a built in script that it uses when it sends out a log notification via email, SMS and voice. There's a different script for each of the systems that we have. It is possible on a per line basis to customize the message that gets sent out. When you go on the configuration of the alarm here in the designer, you can see right below the notification area, where you specify the pipelines you want to use for when it becomes active, cleared and acknowledged. There are custom messages down below for each of different systems, for email, SMS and for voice, and you basically can put In whatever message you want over here in the right hand side, so it's going to be one big long string. Of course you can bind that particular property to an expression to concatenate that string using other values that are in the system. Now that string, you can actually put in special curly braces that are alarm properties, that will get replaced automatically when the message gets sent out. So for example if I was sending out a custom email, I might put as the subject, Ignition alarm, and as the message, I can type something like this in, where basically you can see there are some curly braces in here where it says, at, and then a curly brace, event time, showing it hours colon minutes colon seconds, comma alarm and then name, or the alarm or whatever the name was, at display path, transition to event state, which would like be active, cleared, whatever. So the idea is you can actually use various properties of the alarm that you don't know what the values are going to be, until the alarm becomes active, and you can put them inside of these scripts. The user manual has all of these... These different properties in there, and one great thing you can actually do in designer, is in the pipeline, you can actually come on the notification block, down to say for example email, on the subject or message, and in here when you click on the link, you actually get a list of all the properties you can bring into that custom subject or message, so that way you can kind of get an idea of what's there, and copy those into your custom script.

You are editing this transcript.

Make any corrections to improve this transcript. We'll review any changes before posting them.