FieldDiff
Represents the name of a matching rule field and how the values of the field compare for the duplicate and its matching record.
Fields
Field | Details |
---|---|
difference |
|
name |
|
Java Sample
Here is a sample that shows how to display the matching rule field differences when a duplicate is detected. See DuplicateResult for a full code sample that shows how to block users from entering duplicate leads and display an alert and a list of duplicates.
for (FieldDiff f : mr.getFieldDiffs()) {
System.out.println("For field " + f.getName() + " field difference is "
+ f.getDifference().name());
}