Groups and Expressions
A condition consists of a sequence of groups and expressions, separated by logical operators (AND/OR). A group also contains a sequence of groups and expressions, separated by logical operators. This is a simplified view of a condition, and for a more complete and technical description see Condition Syntax Structure.
Group
A group represents a set of parentheses which encloses a sequence of expressions (and other groups), and the result of the group evaluates to true or false based on the evaluation of its content.
Expression
An expression consists of values (operands) and operators, and the result evaluates to true or false. An expression can be constructed in one of the following ways.
- Left-Operand
- Left-Operand Operator
- Left-Operand Operator Right-Operand
The possible combinations are determined by the type and cardinality of the operands, the operator, and by the context in which the condition is used.
The table below gives a simplified overview of the possible combinations of operands and operators in an expression. For C% more complete and technical description see Condition Syntax Structure.
Left Operand Type | Left Operand | Operator | Right Operand | Right Operand Type |
---|---|---|---|---|
Simple Value Field | Field, ActiveObjectSelection, Formula |
IsEqualTo, IsNotEqualTo, IsGreaterThan, IsGreaterThanOrEqual, IsLessThan, IsLessThanOrEqual, Contains, NotContains, StartsWith, NotStartsWith, ContainsAllTheWords, ContainsAnyOfTheWords, ContainsNoneOfTheWords, MatchThePattern, DoesNotMatchThePattern |
Field, ActiveObjectSelection, Formula, Constant |
Simple Value Field, Value |
Single Object Field | Field, ActiveObjectSelection, Formula |
IsEqualTo, IsNotEqualTo, IsAnyOf, IsNoneOf |
Field, Lookup, ActiveObjectSelection, Formula |
Single Object Field, Multiple Object Group |
Multiple Object Group | Field, ActiveObjectSelection, Formula |
IsAnyOf | Field, Lookup, ActiveObjectSelection, Formula |
Multiple Object Group |
Multiple Object Group | Field, ActiveObjectSelection, Formula |
ForAll, Exist, NotExist |
Expression | Expression |
Simple Value Field, Single Object Field, Multiple Object Group |
Field, ActiveObjectSelection, Formula |
HasNoValue, HasValue |
||
Boolean Value | BooleanExpression |
For a description of the types of operands, see Operands. For a description of the operators, see Condition Syntax Structure.