Notification Templates
When a rule's condition matches, then a notification is created and possibly sent to the customer. A notification consists of a message title, a message text, and actions (primary & secondary). It needs to be defined for all languages, which have been enabled for your company. Additionally a notification may also contain a command, which contains an instruction for a machine-to-machine interface.

Multiple Notification Cases
In case the Multiple Notification Cases toggle is active, you are able to specify a set of notification templates.

Each template has an additional "Label" field, which describes what this case is about, and an additional "Case Condition" field, which is used to decide which notification case is to be chosen. This is done by going through the cases list from the top until the first case condition matches. If no case condition matches, then no notification template is selected (i.e. no notification would be sent).

Hint: in case you want to specifiy a "default" case, add this case to the bottom of the list, and set "Case Condition" value to "true".
Message
Message Title
This field contains the content for the message title.
Message Text
This field contains the content for the message text, and may contain dynamic data, so that e.g. the effective grid power consumption of the last week may be embedded into the message, with a suitable formatting.
IMPORTANT: this field does not expect a static text, like in the message title, but same syntax as expected in the Condition field. I.e. it has to be expressed as a mathematical expression which produces a text. It consists of:
dataset references E.g.
$MyConsumption
refers to the dataset with name MyConsumptionvalues E.g. text
"Excpected consumption is..."
(text can be wrapped in single or double quotes)operators E.g. plus operator
+
(for text concatination, or number addition), or format operator|
to format numbers, etcfunctions E.g. average function
MAX(...)
, which finds the maximum value of specified time series
Have a look at Rule Language to see the full feature set of the expression language.
Primary and Secondary Action Text
This field contains the text which should be displayed for the primary and secondary action.
Primary and Secondary Action
This field defines the action category of the primary and secondary action.
Command
Optionally, you may specify a command containing an instruction for a machine-to-machine interface so that some actions could be triggered. The command is expected to be a Rule Language expression.
When a rule's condition matches, then the notification will not only contain a message but the evaluated expression.
Example

Have a look at Rule Language to see the full feature set of the expression language.
Last updated