Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

For questions regarding duplicate management in your Salesforce Organization.

1
vote
1answer
26 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 { //...
0
votes
1answer
13 views

Customize alert text in duplicate rules.

Alext text in Duplicate Rules : Is it possible to use custom labels for the alert text ?...i need to show the alert in 2 different languages. I tried using custome labels it is not working !
1
vote
1answer
20 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 ...
0
votes
2answers
26 views

Inserting duplicate contacts not causing `DuplicateError`

I'm trying to insert duplicate contacts inside this test method to cause a DuplicateError, however the call to Datebase.insert(duplicateContact, false) succeeds without errors. I want the error. I'm ...
0
votes
0answers
19 views

Cross Field Matching Rule - Duplicate Rules

On Contact record we have two email fields - Email and Personal_Email__c. We want to identify records as matches if any of the email address fields match any existing email addresses in those fields ...
0
votes
0answers
13 views

findDuplicates throws exception if there are no active duplicate rules

I've noticed that theDatacloud.FindDuplicates.findDuplicates() method will not return gracefully if there are no active duplicate rules for the object. Instead, it throws an exception System....
1
vote
1answer
19 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(...
0
votes
2answers
25 views

Duplicate Rules : Contact Mobile & Phone

We are facing an issue with duplicate rules on contact. When we create a new matching rule like below Please find the below rules setup. (Contact: MobilePhoneEXACTMatchBlank = FALSE) OR (Contact: ...
1
vote
1answer
29 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 ...
0
votes
1answer
31 views

Web to lead creating duplicate leads [closed]

Can any one please help me in below scenario, We have implemented web to lead functionality in our project. from this duplicate leads are getting created. How can I figure out reasons for this ?
0
votes
1answer
21 views

Insufficient Privileges exception when calling DataCloud.FindDuplicates.findDuplicates

For some users, calling DataCloud.FindDuplicates.findDuplicates throws an Insufficient Privileges exception. It would appear to be a permissions issue but I have not been able to figure out what ...
1
vote
0answers
18 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:...
0
votes
0answers
28 views

I am Having Trouble to Assign Records in A list

I Wrote This Apex Code to Get Records with Exact Address, City, Zip from a Custom Object Called Job profile . Now after I Get Records Having same field. Let's Just say i got 3 Records . From that ...
1
vote
1answer
26 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 ...
0
votes
1answer
12 views

Duplicate Management Soql not finding a duplicate that displays on contact's related list

We just activated Salesforce's native duplicate management on an existing org. The users are still in classic, so in order to make it really noticeable that there is a duplicate, I'm creating a vf ...
1
vote
3answers
58 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
1answer
16 views

Duplicate Rule not firing for sample data Installed from Trialforce Template

I found out today that a duplicate rule on one of my objects does not fire. After doing a lot of testing I found out that it only doesn't fire for records which were installed as sample data when the ...
2
votes
0answers
58 views

Suppressing contacts from Data Extensions where multiple ID's exist?

So our Salesforce database contains over 700k contacts, with about 100k of those being duplicate email addresses with different Salesforce ID's attached. This happens due to injecting in data from ...
0
votes
1answer
102 views

What does merging duplicate Leads/Contacts/Account do at the record and related record level?

I am exploring the Duplicate Merge features in Salesforce Lightning Experience. I am wondering exactly what happens when you choose to merge records: Do the merge-from records get deleted? Do the ...
3
votes
1answer
114 views

Upsert on Salesforce record cries about Duplicate Record despite that Lead not existing at all, like anywhere?

I am using this API package to Upsert a Lead onto Salesforce using a custom External ID which is the user's email stored in MySQL. Once a while, due to no reason whatsoever, Salesforce would cry out ...
0
votes
0answers
88 views

Duplicate Rule does not fire for old records

I' am having an issue with Duplicate rule. For some reason, duplicate rule is not firing on old records but works fine for new records. Below is the scenario. Initially, I created a Test User(User1) ...
0
votes
0answers
16 views

Getting Duplicate Email notification when Opportunity Owner is change and Send Notification flag is checked

we are getting Duplicate email notification when the Opportunity is transferred to one user from another and send notification checkbox is checked. Both the emails are from the user transferring the ...
6
votes
1answer
61 views

Duplicate management: Matching records with filled in value vs empty value

Looking for some bright minds who maybe see a workaround for my problem: We want to use the standard matching rules to identify potential duplicate contacts. An issue that keeps coming back is: we ...
0
votes
2answers
110 views

Setting DMLOptions in an update

I am currently trying to bypass a DMLException thrown by a duplicate rule in an update event just like I bypass it in an insert events, that is by setting the DMLOptions.DuplicateRuleHeader.allowSave ...
3
votes
1answer
69 views

Non-Duplicates are being detected as duplicates

I'm trying to run the following unit test: @IsTest static void testInsertContactWithMultipleDuplicates() { { TriggerManager.allTriggersDisabled = true; Contact dupRecord1 = new ...
0
votes
1answer
19 views

Duplication Rule not firing for user even we having duplication rule for Account name

Create Account "Test Sample" as system admin. Then I logged in as custom profile user, create a lead with company name "Test Sample". I tried to convert the lead it doesn't show the matching account ...
1
vote
1answer
30 views

Trigger on Leads that checks to see if another Lead or Contact has the exact same name

I have created a trigger that checks to see if another Lead or Contact has the exact same name. How I can avoid the for loop inside for loop to compare old and new lead values and avoid running ...
2
votes
0answers
66 views

Developing an enhanced Duplicate Management feature, as standard as possible [closed]

Due to business needs, we are currently using a slightly different system than the standard for duplicate detection, but, we would still like to use as much as possible of the out-of-the-box ...
0
votes
1answer
30 views

Duplicate Management - Fuzzy Phone detection not Working?

I have a duplicate rule where I check for a Fuzzy Mobile or Phone, on the Lead Object. I have stumbled with a use case where the Phone on Lead 1(for the sake of the example) is something like: +49 ...
0
votes
0answers
14 views

Want to exactly match account name using matching rule

When user creates any order and enters Account name, I want user entered Account to get matched with existing accounts. For this, I used Matching rule to match two accounts. Matching rule is as ...
0
votes
1answer
67 views

Trigger: Catch duplicate and update existing record

I'm trying to write a trigger that can not only detect a duplicate but can update the existing record (similar to an upsert operation). For several reasons, we are unable to actually use upsert. ...
1
vote
2answers
61 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 ...
0
votes
1answer
43 views

How to avoid creating Duplicate Task when Risk Score is Changes?

My Requirement is When Risk Form is Approved, Based on the Risk Score I want to create a task. Scenario 1: If Task Score is less than 50 & More than 25 then Only 1 task (Subject Name: High Risk ...
0
votes
1answer
59 views

Duplicate Username error in one sandbox but not in the other

I am trying to validate a change set and it's giving me a Duplicate Username error. The problem is that the same test passes in 2 other sandboxes. From my understanding if the same username is being ...
1
vote
1answer
49 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
0answers
28 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 ...
2
votes
1answer
95 views

Finding potential duplicates from contact record UI. Either using standard matching rules or an app

In my org I wanted to see potential duplicates contacts on contact record page itself. We are using Lightning Experience, so setup matching rules and added potential Duplicates showing section on UI ...
-1
votes
1answer
92 views

Phone field matching rule does not work

I'm trying to de-duplicate and prevent duplicate leads in SFDC based on Phone numbers. I created a matching rule for Phone field with "exact" match. However, I found that it's allowing duplicate ...
1
vote
0answers
33 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 ...
3
votes
1answer
140 views

Ignore Duplicate Results Alerts for Visualforce Page

I have a [visualforce] page with a [standard controller] and a an [extension] that [queries] a child and grandchild of the standard controller. The grandchild records have a [duplicate] match rule. ...
0
votes
0answers
34 views

How to Eliminate @HttpPost Race Condition

I have a custom API that accepts incoming @HttpPost requests from third parties. The POST request inserts a new complex custom object that may contain one or more Contact records. There is a race ...
0
votes
0answers
168 views

Duplicate contacts report

I've been trying to figure out the best way to design a report to browse duplicate contacts, but I can't seem to find a solution I like. One of the solutions I found is using the famous Power of One ...
1
vote
0answers
38 views

findDuplicates method - Not returning duplicates which are captured in User Interface

We have a matching rule on Contact which defines a dupe using the following logic: A fuzzy match on the first Name and Last Name and EITHER a fuzzy match on address (using street or postcode) OR a ...
0
votes
1answer
377 views

How to surpass/ignore Duplicate Management Rules in Apex? [duplicate]

I have activated the standard Duplicate Management Rule on Contact to prevent duplicate records. When I try to create duplicate Contact records form SalsesForce side, it shows me a warning message ...
0
votes
2answers
70 views

SOQL Query - Where Condition

I have below query to search for Existing Contact before creating new Contact in Salesforce. If there is a Contact with matching email and another Contact with matching Phone - results are not ...
0
votes
1answer
15 views

How can I get duplicate nongroupable fields values in Macroinstruction Object?

how can i query non grouped field values using soql. Example: Select Macro.name,count(MacroId),target,value from MacroInstruction GROUP BY Macro.name HAVING count(MacroId)>1 i need target and ...
0
votes
1answer
47 views

How do you check for an existing lead, contact, person account by email address?

From a Custom Object record creation I'd like to check if an existing lead, contact or account exists via Email match. Please does any one have a step by step solution?
3
votes
1answer
228 views

Bypass duplicate when converting a lead

I'm trying to convert a lead to a contact, the lead has the same email than another contact, but I want to create a new contact. when I try to convert the lead, I got an error 'DUPLICATES_DETECTED : ...
0
votes
1answer
61 views

How to check Lower and upper case while duplicate check using trigger

I have below code public class AccountHandler { public static void AccountValidation(list<account> acclist){ set<string>AccName=new set<string>(); set<...
1
vote
0answers
24 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 ...