Overview

Search using an ID

The doSearch(Id objectId) method executes a duplicate search using the Plauti Deduplicate search engine. This method identifies potential duplicates based on the data of an existing Salesforce record identified by its ID.

Key points

  • Searches for duplicates using the data of an existing record in Salesforce.
  • The search logic and the logic to generate a matching score are based on the applied Plauti Deduplicate scenario, ensuring results align with the predefined criteria and scoring rules.
    • All scenarios applied to “DC Apex API” are used for search logic and generating a matching score.
  • Returns a Map<String, List<dc3SearchResult>> containing potential duplicates.
  • If cross-object searching is configured in the Deduplicate Setup, the results can include duplicates from other objects as well (e.g., finding a Lead as a duplicate of a Contact).