Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Duplicate Rule

Describes a duplicate rule.
Property Name Type Description Filter Group and Version Available Version
actionOnInsert String Whether users can create a duplicate record. Possible values are:
  • Allow—duplicate records can be created
  • Block—duplicate records can't be created
Small, 50.0 50.0
actionOnUpdate String Whether users can create a duplicate record while editing an existing record. Possible values are:
  • Allow—users can create a duplicate record while editing an existing record
  • Block—users can't create a duplicate record while editing an existing record
Small, 50.0 50.0
active Boolean Indicates whether the duplicate rule is active (true) or not (false). Small, 50.0 50.0
duplicateRuleFilters Duplicate Rule Filter[] A list of filters that are used by the duplicate rule. Small, 50.0 50.0
matchRules Match Rule[] A list of the match rules that are used by the duplicate rule. Small, 50.0 50.0
name String The name of the duplicate rule. Small, 50.0 50.0
operationsOnInsert String[] Actions to take when a user creates a duplicate record. Possible values are:
  • Alert
  • Report
Small, 50.0 50.0
operationsOnUpdate String[] Actions to take when the edits to a record cause it to become a duplicate record. Possible values are:
  • Alert
  • Report
Small, 50.0 50.0