Newer Version Available

This content describes an older version of this product. View Latest

DuplicateResult

Represents the details of a duplicate rule that detected duplicate records and information about those duplicate records.

Fields

Field Details
allowSave
Type
boolean
Description
true if duplicates are allowed to be saved. false if duplicates are not allowed to be saved.
duplicateRule
Type
string
Description
The name of the duplicate rule that detected duplicate records.
duplicateRuleEntityType
Type
string
Description
The name of the duplicate rule that detected duplicate records.
errorMessage
Type
string
Description
The error message configured by the administrator to warn users they are potentially creating duplicate records. This message is associated with a duplicate rule.
matchResults
Type
MatchResult
Description
The duplicate records and related match information.

Usage

DuplicateResult and its constituent objects are available to organizations that use duplicate rules.

Java Sample

Here is a sample that shows how to block users from entering duplicate leads and display an alert and a list of duplicates.