Try OpenEdge Now
skip to main content
BPM Events User's Guide
The rule language : Rule structure : Relational expressions and operands : Arithmetic expression
 
Arithmetic expression
The operands of a relational expression are arithmetic expressions of type real or integer. Such expressions are built with the standard arithmetic operators (that is, +, -, *, %, /). Elements of such expressions are shown in Table 10.
Table 10. Arithmetic expression examples
Expression
Example
Constant values
3.14
Numeric attributes of event objects
toInt(EVT_1.context.diskspace)
Functions returning a numeric type
duration(DAY, EVT_1.date, EVT_2.date)
Numeric elements of monitor tables
myTable[5][10].cpuload