Refine duplicate detection in Salesforce by defining exclusion rules in Delpha. Learn how to use field comparisons, operators, and comments to discard false matches.
How to Define Exclusion Rules for Duplicate Pairs in Delpha
After Delpha identifies potential duplicate pairs, you may want to refine, exclude, or annotate some of them using exclusion rules. These rules help automatically filter out certain matches based on field-level comparisons and predefined logic.
What Are Exclusion Rules?
Exclusion rules let you define custom logic to update the status of a duplicate pair and optionally add a comment explaining why the pair should not be considered a valid match.
✅ If a rule is triggered → The pair's status is changed to Auto No, and a comment is added.
❌ If not triggered → No change in status, but a comment may still be added depending on your settings.
Select the Field to Compare
Choose a field from the object (Account, Contact, etc.).
The field must be defined in the Fields section of the duplicate detection settings.
Choose an Operator
Operators (case-sensitive, lowercase) define how the field is evaluated:
same: Both field values are equal
not same: Field values are different
empty: Field is empty for both records
not empty: Field is filled in both records
equal: Field value equals a specific value
not equal: Field value does not equal a specific value
greater than, lower than: Compare numerical or date values
Enter Comparison Value (if needed)
Only required for: equal, not equal, greater than, lower than
No input needed for: same, not same, empty, not empty
Define the Action (Discard Field)
discard = true: Pair is marked as Auto No, and the comment is added
discard = false: Only the comment is added; status remains unchanged
Add a Comment (Optional)
Define a custom message to populate the Comment field when the rule is applied. This helps document the logic behind each exclusion.
Rule Logic & Conditions
Within a rule: Conditions use AND logic
Across multiple rules: Evaluation uses OR logic
Evaluation order: Rules are applied from top to bottom
Practical Examples (Accounts)Oner
Rule
Condition(s)
Action
Comment
1
Condition: One RecordType is 'Group'
Not Same RecordType + Equal RecordType = Group
Discard
"group"
2
Condition: One RecordType is a Partnership, the other is an Entity
Not Same RecordType + Equal RecordType = Partnership + Equal RecordType = Entity
Discard
"Partnership vs Entity"
3
Condition: The RecordType are different
Not Same RecordType
Discard
"record type"
4
Condition: The records have different City fields
Not Same City
Discard
(Add comment)
5
Condition: The records have different Country fields
Not Same Country
Discard
(Add comment)
6
Condition: The records have different NetSuiteId fields
Not Same NetSuiteId (custom)
Discard
(Add comment)
7
Condition: The records have different AccountSegment fields
Not Same Account Segment (custom)
Discard
(Add comment)
8
Condition: The records have different AccountType fields