Overview

Merge records (List of IDs)

The doMerge(List<Id> objectList) method allows you to merge multiple Salesforce records programmatically, adhering to the Plauti Deduplicate Merge Rules. Unlike the doMerge(List<SObject> objectList) method, this version does not require querying fields for the merge rules to properly function.

Key Points

  • The method merges a list of records identified by their IDs (objectList) into a single master record.
  • The master record is determined based on the Plauti Deduplicate Merge Rules.
  • Field-level merge rules are applied automatically without the need to query specific fields in advance.
  • Returns a boolean indicating the success (true) or failure (false) of the operation.