Assemble Conditions

XML Forms Guide

Version
R2024.2.1
Assemble Conditions
Operators and operands available to assemble the condition to be tested in a validation rule
Tag Description
Logical operators AND, OR, NOT
Comparison operators

Equals, LessThan, GreaterThan, LessThanEquals, GreaterThanEquals

Note: If you use equals to compare an integer property with a string property, the validation rule uses numeric equality. For example, if you compare 13955 and "13955" both values are converted to decimals and the condition passes.

Arithmetic operators +, -, *, /
Functional operators today(), coalesce(), maxdate()
Objects

You declare Objects by their absolute relation to the WF_Employee object. You can traverse the object model and access various object property members using a dot (".") notation that indicates a referential hierarchy of objects and their properties.

For example, List_PersonAddress.CountryCode identifies the property that contains a list of objects of the type PersonAddress in the WF_Employee class. The dot followed by CountryCode indicates the subproperty CountryCode for each PersonAddress object in the list of PersonAddresses, List_PersonAddress.

Literals Integer, floating point, and string types are all literals. Objects and functions are resolved to literal values before being evaluated in any rule expression.