Creating a GSM SMS Template

When configuring the Message Settings tab of an SMS/text node, you can create a new template of subject and message combination that you can use in multiple configurations.

To create a new message template:

  1. On the Message Settings tab of an SMS/text node in the Notification Message section, click to open the Message Templates dialog.

  2. In the left panel, select Click here to add new item.
  3. In the right panel in Name, enter the name of the template.

  4. In Subject and Message, use the Click to edit expression links to open the expression dialog.

  5. Create the desired string expression for the subject or body of the message.

    1. Double-click the desired parameter in the left panel to include it to your expression.
    2. Click the element type button in the right panel, such as Arithmetic, Relational, or Logical, to display and select the expression elements.
    3. Enter the value or description.

    Examples:

    • Example 1: Use the raw field to send string alarm data.

      x={{field:Message}}

    • Example 2: Use the tostring function to convert numerical alarm data to strings.

      x={{field:Message}}+tostring({{field:NewState}}).

  6. Click to test the expression. When it returns "No errors", click OK to close the expression dialog, and then click Apply & Close.
  7. In the SMS/text node dialog, click to refresh the list of message templates, and select the new template in the Template drop-down list.