DuplicateResult
Represents the details of a duplicate rule that detected duplicate records and information about those duplicate records.
Type: boolean
Description: true if duplicates are allowed to be saved. false if duplicates are not allowed to be saved.
Type: string
Description: The name of the duplicate rule that detected duplicate records.
Type: string
Description: The name of the duplicate rule that detected duplicate records.
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.
Type: MatchResult
Description: The duplicate records and related match information.
DuplicateResult and its constituent objects are available to organizations that use duplicate rules.
Here is a sample that shows how to block users from entering duplicate leads and display an alert and a list of duplicates.