About Parameters

Parameters store values that you can use in an email template. These values can be fixed or generated at runtime. You can create one of the following types of parameters:

  • Fixed: Stores a fixed value that you specify when you create the parameter.
  • Event Variable: Stores event time values from an entity field or a device field that is used in an event condition.
  • From Query: Stores the results of a Get query with inputs from event time values. This allows you to retrieve additional data about the device or entity that triggered the event from another entity on the system.
Suppose you want to send an automated email when the temperature recorded by a device exceeds 40 degrees Celsius. In the email, you want to include the temperature, date, and time recorded by the device. In this case:
  1. Create an event as follows:
    • Create a condition such that the event is triggered when the temperature recorded by the device exceeds 40 degrees Celsius.
    • Create an action such that an email is sent when the event is triggered.
  2. Create a parameter to store the temperature recorded by the device.
  3. Create another parameter to store the date and time recorded by the device.
  4. Create an email template, and include both the parameters in the template.
  5. Use the email template in the event that you have created in step 1.