Skip to content

Value comparison rule

Ryan Newington edited this page Sep 4, 2025 · 7 revisions

Value Comparison Rule

The value comparison rule compares the value of an attribute with the value specified in the rule. The types of comparisons available depend on the type of the attribute being evaluated. The rule can also evaluate an object that is referenced by the object under evaluation.

Configuration Parameters

Value Source

Specifies that the value comparison is performed on the current object, or an attribute referenced by the current object.

Attribute

The attribute to evaluate.

Group Operator

When the target is a multivalued attribute, the group operator is used to determine how to evaluate the rule. The group operator can specify that any, all, none, or one of the attribute values must match the value provided in the rule.

Operator Description
Any True if any attribute value matches
All True if all attribute values match
None True if no attribute values match
One True if exactly one value matches

Value Declaration and Transforms

The value to use in the comparison. This can be any valid ACMA declarative language expression. The value declaration provided will first be expanded, and then transformed, before being compared to the value on the object.

The transform chain is applied to the expanded value before comparison and can be used for data normalization, formatting, or case conversion.

Comparison Operators by Data Type

String Operations

Operator Description Case Sensitivity
Equals Exact text match Yes
Does not equal Text does not match Yes
Contains Substring present Yes
Does not contain Substring absent Yes
Starts with Text begins with prefix Yes
Ends with Text ends with suffix Yes

Numeric Operations (Integer)

Operator Description
Equals / Does not equal Exact numeric match
Is greater than Value exceeds threshold
Is greater than or equal to Value meets minimum
Is less than Value below threshold
Is less than or equal to Value within maximum

Boolean Operations

Operator Description
Equals Boolean state match
Does not equal Boolean state opposite

Reference Operations

Operator Description
Equals Object reference match
Does not equal Object reference different

DateTime Operations

Operator Description
Equals / Does not equal Exact date/time match
Is greater than Date/time after threshold
Is greater than or equal to Date/time from threshold
Is less than Date/time before threshold
Is less than or equal to Date/time up to threshold

Binary Operations

Operator Description
Equals / Does not equal Binary data comparison

Examples

Basic String Comparison

Purpose: Ensure user is in Sales department
Attribute: orgUnitDisplayName
Operator: Equals
Value: "Sales"

Multi-Valued Attribute Check

Purpose: Check if user is in any admin groups
Attribute: memberOf
Group Operator: Any
Operator: Contains
Value: "Admin"

Referenced Object Validation

Purpose: Ensure manager is in Management department
Value Source: Referenced Object (manager)
Attribute: orgUnitDisplayName
Operator: Equals
Value: "Management"

Clone this wiki locally