PersonDuplicateFinder class

This Gosu class defines matching for the ABPerson subtype. If the subtype is ABAdjudicator, matching is performed for ABPerson.

To open this class in Guidewire Studio™, navigate in the Project window to configuration > gsrc and then to gw.plugin.contact.findduplicates.PersonDuplicateFinder.

The class uses the query builder PersonQueryBuilder, described at PersonQueryBuilder class. That query builder extends PersonQueryBuilderBase, which adds logic for matching the first name, last name, date of birth, and phone numbers of the contacts. You can use that class and this one as an example of how to add matching logic for a field to a query builder and a Duplicate Finder.

PersonDuplicateFinder defines the following match criteria:
Fields to match
FirstName
Match this field as starts with or equals, depending on context.
LastName
Match this field as equals.
PrimaryAddress (AddressLine1, City, State, PostalCode)
Match these PrimaryAddress fields as equals.
LicenseNumber and LicenseState
Match both Driver’s License fields as equals.
DateOfBirth
Match this field as equals.
TaxID
Match this field as equals.
HomePhone, WorkPhone, FaxPhone, or CellPhone
Match any single phone field as equals.
Required fields
FirstName and LastName and at least one of PrimaryAddress, TaxID, any phone field, or LicenseNumber and LicenseState.
Match types
Potential
Starts with FirstName and equals LastName and equals one of PrimaryAddress, DateOfBirth, any phone field, or LicenseNumber and LicenseState.
Potential
Equals LastName and TaxID.
Exact
Equals FirstName and LastName and DateOfBirth, and equals one of PrimaryAddress or any phone field.
Exact
Equals FirstName and LastName and TaxID.