Expression
The Expression object is intended for obtaining information about the expression being executed at the moment.
Fields
Name | Description |
id | Contains ID (name) of the expression (string). |
uid | Contains global ID of the expression (string). |
path | Contains path to the expression (string). |
currentState | Contains an object of ValueState type and is the result of the last execution of the expression. |
comment | Contains a comment for the expression. |
Examples
In the following example, all expressions located in the Alarms → Area1 group will return True, the rest will return False.
In the example below, the expression will return True if the previous result was False, otherwise it will return True.
Last updated