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.

FieldDiff Class

Represents the name of a matching rule field and how the values of the field compare for the duplicate and its matching record.

Namespace

Datacloud

FieldDiff Methods

The following are methods for FieldDiff.

getDifference()

Returns how the field values compare for the duplicate and its matching record.

Signature

public String getDifference()

Return Value

Type: String

Possible values include:
  • SAME: Indicates the field values match exactly.
  • DIFFERENT: Indicates that the field values do not match.
  • NULL: Indicates that the field values are a match because both values are blank.

getName()

Returns the name of a field on a matching rule that detected duplicates.

Signature

public String getName()

Return Value

Type: String