Supported functions for If expression and Then and Else expressions

The If expression can contain only variable definitions (for example, If: AlarmX.severity == 100) or functions defined with or without comparisons, and with or without variable definitions (for example, If: avg(DataItem.AMtemp.value,DataItemNoonTemp.value,DataItem.PMTemp.value) > 90.

The Then and Else expressions can contain any functions or variables supported in If expressions as well as any functions that run actions (that is, modify data in the Platform or an asset). For example, Then: SendDataitem("DataItemX", 100) or SendDataitem("DataItemY", True).

Do not configure a function that performs an action within the If expression. The Platform can neither validate nor run such an If expression.