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 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 withorequals, 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
FirstNameandLastNameand at least one ofPrimaryAddress,TaxID, any phone field, or LicenseNumber and LicenseState.- Match types
-
- Potential
- Starts with
FirstNameand equalsLastNameand equals one ofPrimaryAddress, DateOfBirth, any phone field, or LicenseNumber and LicenseState. - Potential
- Equals LastName and
TaxID. - Exact
- Equals
FirstNameandLastNameand DateOfBirth, and equals one of PrimaryAddress or any phone field. - Exact
- Equals
FirstNameandLastNameandTaxID.
