NEX operators
This list includes operators currently supported for rule expressions.
Does not equal
Returns Boolean; takes all formats.
![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)
Equals
Returns Boolean; takes all formats.
![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)
Greater than
Returns Boolean; takes number, date, and datetime formats.
![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)
Greater than or equal to
Returns Boolean; takes number, date, and datetime formats.
![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)
INTERSECT
Use to combine values in the result set that are common to both collections.
(expression)
![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)
Result
Less than
Returns Boolean; takes number, date, and datetime formats.
![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)
Less than or equal to
Returns Boolean; takes number, date, and datetime formats.
![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)
IN
True if parameter one is in parameter two (chosen from multiple values); Boolean.
![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)
NOT
Reverse parameter; Boolean.
![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)
Null coalescing (??)
Returns a default value when a specific value is not available.
Can also be used to reduce redundant syntax in expressions. See the ANY or ALL NEX functions.
![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)
specialty_1__v = specialty_1__v??'None__c'
If specialty_1__v is NULL (or undefined) set the value as NONE.
Subtract
Returns and takes number and date formats.
![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)
Sum
Returns and takes number and date formats.
![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)
AND
True if all parameters are true; Boolean.
![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)
OR
True if any parameters are true; Boolean.
![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)
Parentheses
Indicate precedence; all formats.
(expression)
![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)
UNION
Use to combine the result set of two or more collections.
Note: UNION selects only distinct values by default. Use UNION ALL to allow duplicate values.
(expression)
![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)
Result
UNION ALL
Use to combine all result sets of two or more collections.
(expression)
![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)
Result