Questions tagged [duplicate-management]

For questions regarding duplicate management in your Salesforce Organization.

Filter by
Sorted by
Tagged with
1
vote
1answer
1k views

Data Import Wizard for Contacts, prevent duplicates?

I'm importing a CSV file with about 2500 contacts from another system, outside of SalesForce. The wizard is matching based on name. So if I import the same spreadsheet again, the data doesn't update, ...
1
vote
1answer
276 views

I cannot get the workaround for the Process Builder - Duplicate Management bug working

There is this incredibly frustrating bug concerning a conflict between the Process Builder and Duplicate Management. Some people have suggested a workaround for it, but I can't get it to work, the ...
1
vote
1answer
90 views

Duplicate Rules: “The XXX field is invalid for this field mapping” - during deployment

During a deploy from source control to an org, I get this error: Contact.Standard_Rule_for_Contacts_with_Duplicate_Leads Duplicate Rule The Phone field is invalid for this field mapping. What would ...
1
vote
1answer
166 views

How to remove `Save (Ignore Alert)` and `Save & New (Ignore Alert)` buttons?

I have created a duplication rule so that when a new lead record is created to notify the user if there is an already existing lead. When there is an existing and duplicated lead I need to forbid the ...
1
vote
2answers
641 views

Deduplicate array in javascript based on id value in array

I have a array which is a collection of 2 arrays which has duplicate Id records how do I deduplicate these in javascript. Filter is my primary array to which I add opleidingfilter. Filter array ends ...
1
vote
1answer
500 views

Process builder custom duplication check

I've got an autolaunched flow which run whenever a Custom object adoption is created. The flow then links the adoption to a school, first by searching for one, and creating one if it doesn't already ...
1
vote
1answer
218 views

Trigger to prevent duplication of records not working on cloning record for the first time

One of my object is having Lookup Relationship with Account. I want a functionality where we can not allow to have 2 records with the same Name, same Related Account, and same Owner. I have tried 2 ...
1
vote
1answer
1k views

Accessing a Duplicate Rule's Matching rules via Apex

I'm trying to access the matching rules associated to a Duplicate rule via code. Through the UI, it's easy enough to create a Duplicate Rule then add Matching rules to it. So I know there has to be a ...
1
vote
1answer
280 views

How does the salesforce algorithm determine duplicates?

I am a salesforce user. In many instances, our system flags many contacts as duplicates when they are not. For example, sometimes it will flag distinct contacts as duplicates based on similar ...
1
vote
1answer
980 views

Duplicate error test class

I can't test some rows in my code with duplicates, I try to make duplicate error in different ways but nothing helps. Could you assist? Apex Class: public class AccountExtensionController { public ...
1
vote
1answer
190 views

Handling duplicates in VisualForce page: standard code does not work

I want to handle duplicates in my custom VF page, by detecting an error after an insert action, presenting the duplicates, and having the user choose one of these or create a duplicate. Salesforce ...
1
vote
2answers
2k views

Find and merge all contacts with duplicate email addresses

I have a data cleaning scenario where I am trying to identify all contacts with a duplicate email address listed on another contact and merge the 2(or more)? Any way I can do this in mass?
1
vote
1answer
1k views

In Apex Trigger distinguish between contact created by lead conversion and new contact

Note: I am a fairly new apex developer so I apologize if this is a basic question. I'm working on an apex trigger which will prevent a contact from being created when there is an existing lead with ...
1
vote
1answer
39 views

At which level do duplicate rules work?

I'm trying to prevent the insertion of duplicate records from concurrent transactions. FOR UPDATE does not seem like a good candidate because the records are not updated, so there is nothing to lock. ...
1
vote
1answer
416 views

Does Marketing Cloud deduplicate subscribers before making an A/B split?

I am configuring my first A/B split test with an email. I know that during a single send to a data extension, normally, Marketing Cloud will dedupe the DE's contents on the email address. However, I'm ...
1
vote
2answers
204 views

How to set Email Address as Primary Key on a Salesforce Campaign Entry Source Data Extension

I've created a journey using the Salesforce Campaign entry source. The entry source will enter records from 3 different SF campaigns. There's a possibility there will be duplicate emails in each ...
1
vote
1answer
786 views

Datacloud.FindDuplicatesResult: not finding any duplicates when they are

I am stuck when trying to look for a duplicate contact, I am using Datacloud.FindDuplicatesResult, however the system is not getting any duplicate so when it tries to save the record I get an: ...
1
vote
1answer
120 views

Duplicate lead management

In my org we have implemented Duplicate matching rules for leads. We have the Lead object being referenced in 2 custom objects (Enquiry__c & Needs_Analysis__c , simple lookup relationship). In ...
1
vote
2answers
816 views

Duplication prevention logic need for trigger bulk insert?

I wrote a trigger to find the duplicate and add error in the trigger.Before insert context Set<string> appnameSet = new set<string>(); for(test1__c test : trigger.new) { appnameSet.add(...
1
vote
1answer
105 views

Deduplicate only one kind of customer

I'm using three DE for my sends, one per account type (to get metrics for each one of them in the tracking) in Content Builder. Is there a way to send an email, but only deduplicate one DE (my guest)?...
1
vote
1answer
352 views

AllorNone inside Before insert Trigger - Duplicate Checking

Can someone explain to me in very simple how the AllorNone works in a before insert trigger? I was under the assumption that AllorNone is default false. I have a before insert trigger that checks for ...
1
vote
2answers
296 views

How can make a list duplicate records in list of records and How to send emails to that list at a time

I have a list of users. Users are nothing but contacts.
1
vote
1answer
50 views

Track when a user ignored duplicate management warning and creates record?

I have the following requirement: When a user clicks "create and ignore warning" when creating a record and thereby overrules the duplicate management, I need to have a list of these records which ...
1
vote
1answer
593 views

question about duplicate management and record types

I'm trying around with the new duplicate management functionality and am coming across something that seems counter-intuitive. We have two record types for contact and I set up a duplicate rule so ...
1
vote
3answers
793 views

Merge Accounts based on Account Number

I'm trying to help my users find Duplicates Accounts in Salesforce.. I've Created a nice URL Hack Button that direct the user to the merge Accounts page from the account page it self so I can add to ...
1
vote
1answer
343 views

Cannot capture debug logs for Duplicate Management trigger

Does anyone know how to capture debug logs for trigger execution on the new Duplicate Management object DuplicateRecordItem? I've set debug logs for myself, and the execution of the ...
1
vote
3answers
2k views

how to remove duplicate leads already present in salesforce

Is there a way I can get rid of the duplicate leads already present in the system based on email, then phone , name etc and retain the activity history on the leads which would be found as duplicates. ...
1
vote
2answers
2k views

Trigger to check Duplicate Email on Lead is not working when updating a lead

I took this code from cookbook but the problem is it's throwing error message when i open and edit the existing record can somebody tell me where i'm going wrong. if open existing record and give ...
1
vote
0answers
42 views

Contact duplicate rule condition is not working on Lead convert (Apex)

I have written custom Lead Convert apex class and vf page. I have a duplicate rule "active" on contact. The issue i am facing - When i try to convert a lead, contact duplicate rule's ...
1
vote
0answers
56 views

How to Deploy Inactive Duplicate and matching rule

Before Data migration, we perform some pre-steps to migrate the data (data from source to destination Should be same) Deactivating duplicate and matching Rules is one of the steps we perform as the ...
1
vote
0answers
64 views

Using Standard Duplication Rules with REST API

I am using the below code to find the duplicate contact using the duplicate rules setup in the org : Need Suggestion, as to how to find the relation between the payload and matched contacts array. ...
1
vote
0answers
77 views

Deactivating duplicate rules then redeploying as active does not activate duplicate rules

I ran into this situation: I have duplicate rules in a sandbox. I deactivated them manually. In my local code repository, I have the duplicate rules version controlled in package.xml: <types>...
1
vote
1answer
92 views

Failed to update Salesforce account because of DUPLICATES_DETECTED error even with Allow setting in Duplicate Rule

I'm using JSforce to integrate Salesforce into my app. When I update a Salesforce account from my end via JSforce update function, it got DUPLICATES_DETECTED error because Salesforce considers this ...
1
vote
0answers
27 views

How to use DuplicateRecordSet field: SobjectType

According to the documentation, DuplicateRecordSet there is a field SobjectType, however, after running the following code in Execute Anonymous, it doesn't appear that this field exists... Map<...
1
vote
1answer
429 views

Duplicate Warning - Fire a warning on duplicate records

I am quite new to Salesforce. I have a Custom_Object__c, and community users can create records for this object. A duplicate rule is also set up for this object (Let's say : it compares ...
1
vote
1answer
116 views

Lead Trigger and lead.addError()

I have this problem with triggers: We have integration with our backoffice to receive leads. Unfortunately, we can't change this integration. It sends the leads when when it shouldn't. On insert if ...
1
vote
0answers
22 views

How to do alphanumeric only duplicate detection

I need to enabled duplicate detection and blocking on text fields that only checks the alphanumeric characters in the string and is exact for those characters. The available fuzzy algorithms do not ...
1
vote
0answers
49 views

Whats a good way to merge this bad pair of records, one a Contact and one a Person Account, with a unique external-ID field?

We have a checkered history at this company that caused all sorts of bad data. (I wasnt here then!) Person Accounts are enabled. Some of the customers are Person Account records, and some are just ...
1
vote
0answers
88 views

Why exact match doesn't work for Phone field in Matching Rule

I have created a matching rule and a Duplicate Rule that should block a user from creating duplicates. ((Lead: FirstNameEXACTMatchBlank = FALSE) AND (Lead: LastNameEXACTMatchBlank = FALSE) AND (Lead:...
1
vote
2answers
276 views

Process New Duplicate Rule on All Records

I created a new duplicate and matching rule for Accounts based on Shipping Address so that I can generate a custom duplicate account report. I have the report created but it appears empty and I ...
1
vote
1answer
38 views

Cannot Find Duplicate Management in Lightning

I am having difficulty managing matching rules in SF Lightning because I cannot get past step one of all the guides I have found. When I type "match" or "dup" into the quick find box, nothing comes up....
1
vote
1answer
593 views

Removing duplicate values from picklist

I am trying to extract picklist value from a custom object Product__c, but I am getting duplicate values in the dynamic picklist. Controller Code public class VFOnlineShoppingController { //...
1
vote
2answers
389 views

How do I track and manage multiple leads for the same contact but from different sources?

I'm trying to find a way to track the leads that I get from different channels but which are for the same lead/contact. For instance, if I have a potential client contact us through our website, but ...
1
vote
1answer
885 views

Getting error: 'Update Failed… DUPLICATES_DETECTED' even with duplicate rule set to 'Allow'

I am trying to update a list of Contacts which is failing because of duplicate being detected. My duplicate rule field 'Action on Edit' and 'Action on Create' is set to Allow. code: if(...
1
vote
0answers
108 views

How to display duplicate contacts on custom lead convert page?

I have a custom lead convert page. We have enabled the data.com duplicate rules, and now, when there is a duplicate contact upon conversion, I get an error on the custom page: Error:...
1
vote
1answer
454 views

Find original record in duplicate result: Datacloud.DuplicateResult

I'm writing some code to search for duplicates for a list of contacts. I need to be able to map the duplicates to the corresponding original/master contact. I haven't been able to find any ...
1
vote
3answers
345 views

Making sure a list is unique [closed]

I'm running into an interesting problem while trying to insert records from a class that runs on Insert and Update. So when the parent record is created, we have some logic that looks at the parent ...
1
vote
0answers
69 views

Salesforce to Salesforce with Duplicate Management: How to detect duplicate lead error?

I have S2S set up between two SF orgs (Source and Target). When a lead is created in the Source org then S2S creates it in the Target org. However, the Target org has Duplicate Management set up so ...
1
vote
0answers
81 views

Add a field to the Find Duplicates search

I'm re-creating our Find Duplicates button on the lead object, and was wondering if there's a way to add an additional field to this search (beyond Name, Last Name, Company, Email, Email Domain, and ...
1
vote
0answers
27 views

Validation rule or Workflow process help on limiting users to 1 of each selection in a picklist

I have a plan picklist with 3 values (A, B, C) and a status with 3 values (Started, InProgress, Complete) all on the same custom Plan object. We want to prevent users to not be able to enter a new ...

1 2
3
4 5
7