Configuring template placeholders in e-mails

You can include one or more placeholders in the body of an e-mail notification (when creating or editing a notification). When that e-mail Notification action runs, the placeholders are replaced with actual asset, time, or usage information in the e-mail message.

The placeholders available for configuration are as follows:

o        <$AD> - inserts description of the alarm that caused the rule to evaluate to true

o        <$AN> - inserts name of the alarm that caused the rule to evaluate to true

o        <$AS> - inserts severity of the alarm that caused the rule to evaluate to true

o        <$AT> - inserts type of the alarm that caused the rule to evaluate to true, for example HiHi or LoLo

o        <$CC1-n> - inserts contact(s) (1-n) for organization associated with asset

o        <$LN> - inserts the NAME of the location for the organization associated with asset. If the location name is a street address, you will see that address. Otherwise, you see the NAME given to the Location. For example, if the location name is Headquarters, this placeholder returns "Headquarters" in the body of the message.

o        <$CN> - inserts name of organization associated with asset

o        <$DI> - inserts asset ID

o        <$DN> - inserts name of asset

o        <$FC> - inserts the from' connectivity state. When the Axeda® Platform is running in redundant-gateways mode, this tag may insert any one of the following values: "All Connected," "Partially Connected," and "All Missing." When the Platform is running in the default, non-redundant-gateways mode, this tag may insert either "Connected" or "Missing."

o        <$MN> - inserts model number of asset

o        <$SN> - inserts serial number of asset

o        <$TC> - inserts the to' connectivity state. When the Platform is running in redundant-gateways mode, this tag may insert any one of the following values: "All Connected," "Partially Connected," and "All Missing." When the Platform is running in the default, non-redundant-gateways mode, this tag may insert either "Connected" or "Missing."

o        <$TS> - inserts time stamp (in GMT format) of trigger message

o        <$TS:YYYY-MM-DD > - inserts time stamp of trigger message.
The format for this time stamp is configurable and supports many symbols (ASCII letters).

o        <$TV:TagName> - inserts the current value of the related data item rule

o        <$UN> - inserts name of usage item

o        <$UD> - inserts incremental value of usage item

o        <$UT> - inserts cumulative value of usage item

For example:

If you type the following e-mail message body:

o        An alarm occurred for model number: <$MN>, serial number: <$SN> (for <$CN> at <$LN>). The alarm was received on <$TS>. The value of data item InputVoltage was <$TV:InputVoltage> volts AC.

The actual e-mail generated for this action will look like the following:

o        An alarm occurred for model number: ACME5, serial number: SN-1234 (for ACME Co. at Headquarters). The alarm was received on 2011-10-11 18:23:36 GMT. The value of data item InputVoltage was 23.65 volts AC.

In this example, the name of the location is "Headquarters".

 

See Also