EXPRESSION
Expressions are used to perform calculations or business process. They can only return one value.
| TYPE=EXPRESSION | ||||
|---|---|---|---|---|
| Element | Attributes | Parent Element | Description | Element/Attribute Value |
|
<MathVariable>
|
TYPE |
Expression that may use field names, MathVariables, numbers and operators. |
||
|
LOG |
Yes: the result is stored in AsActivityMath table to be used by other activities. No: the result is not stored. This is the default behavior. |
|||
|
ROUND |
Integer that will set the rounding for numeric data types. |
|||
|
CLEARVALUE |
Value: Yes / No Default Value: No Yes: The value of the math variable will be deleted after the execution of all the Attached Rules at the end of activity processing and will not be visible on the Math tab in the Activity details screen. No: The value of the math variable will be retained after activity processing and will be displayed in the Math tab in the Activity details screen. |
|||
XML Example
<MathVariable VARIABLENAME="ExampleMV" TYPE="EXPRESSION" DATATYPE="DECIMAL">MVOne + MVTwo</MathVariable>
Important: Go to Operators available for EXPRESSION writing to see what operators you may use for creating Expressions.