Syntax basics when using the Advanced expression editor are listed below. Samples of use of the advanced expression editor are available on this page.
Parentheses can be used to make a complex expression more readable. (<expression>) is the equivalent of <expression>. Parenthesis can also be used to define the evaluation order and associativity.
The expressions will be evaluated from left to right. The associativity on arithmetic operators must be applied: multiplications and divisions take priority over additions and subtractions. In order to impose a specific order, parenthesis must be added to delimit the operations. For example:
Expression | Evaluation |
---|---|
4 + 2 * 10 |
|
(4 + 2) * 10 |
|
Here are the different case sensitivity rules:
<expression1>
and <expression2>
is a valid expression whereas the expression <expression1>
AND <expression2>
is not.Depending on the context of use, the expression editor can return different values.
Advanced expression editor usage | Expected returned expression type |
---|---|
Condition (data source condition, date condition) | boolean |
Custom timer | dateTimeOnly |
Action parameters mapping | Any |