Overview

Merge records (List of SObjects)

The doMerge(List<SObject> objectList) method allows you to merge multiple Salesforce records programmatically based on the Plauti Deduplicate Merge Rules. This method simplifies record consolidation by automatically applying predefined merge rules to determine how fields are handled during the merge process.

Key points

  • The method merges a list of records into a single master record.
  • Predefined master record rules dictate which record is picked as the master record.
  • Predefined field merge rules dictate which field values are retained.
  • Returns a boolean indicating the success of the operation.