What is a Filtering Rule and how to use it
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.
How to Define an Exclusion Rule
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 equalnot same
: Field values are differentempty
: Field is empty for both recordsnot empty
: Field is filled in both recordsequal
: Field value equals a specific valuenot equal
: Field value does not equal a specific valuegreater 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 addeddiscard = 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)
1
Not Same RecordType
+ Equal RecordType = Group
Discard
"group"
2
Not Same RecordType
+ Equal RecordType = Partnership
+ Equal RecordType = Entity
Discard
"Partnership vs Entity"
3
Not Same RecordType
Discard
"record type"
4
Not Same City
Discard
(Add comment)
5
Not Same Country
Discard
(Add comment)
6
Not Same NetSuiteId
(custom)
Discard
(Add comment)
7
Not Same Account Segment
(custom)
Discard
(Add comment)
8
Not Same Account Type
(custom)
Discard
(Add comment)
Examples in JSON
Last updated
Was this helpful?