Overview

Calculate matching score

The matchRecord(SObject recordA, SObject recordB) method calculates a similarity score between two Salesforce records (recordA and recordB). This score, ranging from 0 to 100, indicates how closely the records match based on the configured Plauti Deduplicate Scenarios.

Key points

  • This method is designed to compare two records and evaluate their similarity.
  • The search logic and the logic to generate a matching score are based on the applied Plauti Deduplicate scenario
    • All scenarios applied to “DC Apex API” are used for search logic and generating a matching score.
  • The method returns a score between 0 and 100