Questions tagged [duplicate-management]

For questions regarding duplicate management in your Salesforce Organization.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

Can I set up Duplicate and Matching rules (in classic) so that when any account field is edited it will identify the duplicates? [closed]

Right now the duplicate list only shows when I edit the specific fields listed in the rules,
0
votes
0answers
29 views

Allow search on Account without Read access (Private OWD)

So I've come across a requirement which require us to set the Account OWD to private, but users still need to be able to search for an account so that they know if it exists in the org or not. Kind of ...
0
votes
1answer
17 views

Fire Duplicate Rules on list of brand new Contact records to be inserted in apex

I am facing one issue that even if Duplicate Rule is defined on the Contact Object still I am able to insert duplicate Contact records in bulk from apex. This is because the contacts which I am trying ...
0
votes
0answers
13 views

Potential Duplicate component inconsistent

I have some duplicate rules set up for accounts, but they have specific conditions to apply (the rules should only apply on specific account types). The rules are also set up to block on create and ...
0
votes
1answer
13 views

Get DuplicateRule action from API

The out of box Datacloud Apex classes gives lots of detailed info about why duplicates have occurred. One such item is the developer name of the executed duplicate rule that returned duplicate ...
1
vote
0answers
22 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
47 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
1answer
57 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 ...
0
votes
0answers
19 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
46 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 ...
0
votes
0answers
11 views

duplicate value found: <unknown> duplicates value on record with id: <unknown> Error when deleting a record

Have you experienced receiving this error when deleting a record? I googled but mostly of the related issue is during upsert or deployment. I disabled the duplicate rules, process builders, and no ...
0
votes
0answers
20 views

Best option for sending Accounts and Contacts to another org?

Currently I've designed an integration using a scheduled Batch Apex class and REST API callouts to sync certain Accounts and Contacts from one org to another org that represents the company's master ...
0
votes
1answer
46 views

Check if duplicate rule is enabled for sObject via Apex or API

I use Rest API to create a bunch of records users key in. Sometimes, the subscriber orgs have duplicate rules enabled for the sObjects we use, and since the DuplicateRuleHeader is missing from REST ...
0
votes
1answer
50 views

Can't access MasterRecordId field when merging Cases

SUMMARY: I am currently implementing Merge Cases functionality and need to be able to edit fields on the losing and winning record during this process. Looking at the documentation depending on ...
0
votes
1answer
28 views

Permission Set Cleanup - identifying duplicate permissions - AppExchange Product?

We have a 12 year old Salesforce org and we have not had the best governance around creating and assigning permission sets. We have numerous duplicate permissions - i.e. 'Transfer Record' System ...
0
votes
2answers
55 views

How To Check For Duplicates Using SOQL and Apex

I am currently developing a csv importer for our Salesforce to deal with our way of quoting items, and I am currently trying to make it so that if the product has been added in, it detects whether ...
0
votes
1answer
90 views

Prevent Duplicates Using Wrapper Class in Apex Class

Note* I am a beginner attempting to jump from level 1 to level 10 coding because there is no easy way to accomplish the task. I need to prevent users from inserting duplicates of a custom object ...
0
votes
3answers
80 views

How to find all records where a textfield contains “04/06/2020” twice? [duplicate]

this is a bit of an odd one. Say I need to find all Accounts where the textarea field "Notes__c" contains the text 04/06/2020 twice, how would I go about that? Ideally using Apex or Reports. ...
0
votes
1answer
60 views

How to deduplicate records in Salesforce using SOQL? [closed]

For some reason there are created duplicated records for certain custom object. Some of these records are inserted (incorrectly) exactly 2 times. Duplicated records have the same data in fields (...
0
votes
1answer
29 views

Check and not allow to create more than one record with similar start date

I have a custom object naming Time_Sheet__c having Start_Date__c (Date field) & End_Date__c (Date field) as two of its custom fields. Please help me with suggesting an Apex code to check the ...
2
votes
1answer
113 views

How to capture duplicate rules in apex

I have the following duplicate rule: I have Allowed Action on create and Action on edit but when I try to create a duplicate account in apex, I get an error: System.DmlException: Insert failed. ...
0
votes
2answers
32 views

How to store field values of merged record details in Salesforce

I have a requirement to merge different accounts in Salesforce. When record B is merged with record A, record B will be deleted and will be merged into A. Is there any possiblity of storing the ...
0
votes
1answer
58 views

Fuzzy not working for lead company name

I created a matching rule and duplicate rule regarding lead company name and i tested by creating records with company name as test and test data The record is saving without showing any duplicates ...
1
vote
0answers
22 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<...
0
votes
0answers
75 views

findDuplicates size() always 1 - how to prevent duplicates on accounts created from a trigger on a custom object

When a custom object record is created, I'd like to create a personAccount from that record's field values, but I also don't want to create duplicates. I'd like to use the standard duplicate / ...
0
votes
0answers
13 views

Managing preferences for multiple unique subscribers with the same e-mail address

This is in reference to the SFMC function of Dedupe subscribers. A previous post says "that SFMC de-dupes by Email Address, not Subscriber Key. So if you have the same email address with multiple ...
1
vote
1answer
192 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 ...
2
votes
1answer
35 views

Duplicate Cases while responding through outlook

I Have configured email-to-case. there is one support distribution group. there are three members(A,B,C) in the group and Email-to-Case address. when a customer sends an email to this distribution ...
0
votes
0answers
12 views

Show duplicate accounts on case page

Is there a way to show duplicate accounts on Case page? Based on the value in 2 fields (1 custom field Brand, and the account Email field) So if a case is open on one account, and in the system there ...
2
votes
0answers
91 views

Duplicate management: Insert Account Id of duplicate record in API REST Response

I'm planning to integrate an external website with Salesforce. In Salesforce I used Matching and Duplicate rules in order to block the creation of new duplicated PersonAccount and those rules work ...
0
votes
0answers
38 views

Merge Duplicate Contacts

So I have Salesforce system that was implemented 6 years ago and sits ontop of a extremely old sales system. When implemented it was built in a way that it creates duplicate contacts on different ...
4
votes
2answers
60 views

Execution order of multiple Duplicates rules on an Object

I have two active duplicate rules on Account object. Is there a particular order in which they are executed? or is it random? If a record is marked as "duplicated" by a Duplicate Rule, this record ...
0
votes
1answer
28 views

Merge Statement on Duplicate Leads/Contacts

We currently have a web form that connects to leads in Salesforce - The issue with this is that we are finding that we have contacts with the same email address/similar names. It is possible in apex ...
1
vote
1answer
83 views

Upsert causes custom and standard Duplicate Rules to fire

Could you help me understand why does my duplicate rule is firing upon insert? This is the controller: Boolean idExists = false; List < Lead > leads = [SELECT Id, Name FROM Lead WHERE Email =: ...
0
votes
0answers
36 views

Replicate “Merge Contact” Related List button behavior on Account Detail Page in Lightning

We are migrating to Lightning from Classic, we found that "Merge Contact" button is not available in Lightning on Account Page. I see that there is standard component Named "Potential Duplicate", ...
0
votes
0answers
19 views

Duplicate records don't come in Duplicate Record Set Immediately

If I create a Duplicate Record and go to the Duplicate Record Set which is created for a particular Duplicate Rule then I don't get the newly created duplicate record in the Duplicate Record Set/Item. ...
0
votes
1answer
24 views

Webservice is allowing duplicate record creation

I have below piece of code in web service apex class. If account is found with given emailId then I am updating the account, if account is not found with emailId then I am creating new account record. ...
0
votes
1answer
147 views

Create a Trigger to merge Leads if the Email already exists on a Lead

I have multiple Web-to-Lead forms that gather information for different fields. I want to store all the info under one lead, with the email address being the key. I want to create a trigger to query ...
2
votes
0answers
48 views

how to deduplicate millions of records of custom objects [closed]

In an org of a client we have about 170 million records of mostly custom objects, with some single custom objects having as much as 70 million records on their own. The problem is that for about 10 ...
1
vote
1answer
90 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
1answer
36 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
4answers
619 views

Mobile Push Demographics data shown multiple device ID for one contact in SFMC

I found that my contact ID in SFMC had shown multiple device ID in Mobile Push Demographics data. In actual, I only have 2 active device, but why in SFMC shown 4 device ID, and 3 of them are still ...
0
votes
0answers
20 views

AgentWork object

I am working with the AgentWork object, the thing is several AgentWork are being created with the same WorkItemId, when its status changes. My doubts are: First, I do not understand why several ...
2
votes
2answers
135 views

DUPLICATE_VALUE:duplicate value found error on field that ISN'T marked is Unique?

I am trying to insert records via informatica, I am getting this error: "","false","false","DUPLICATE_VALUE:duplicate value found: customfield__C duplicates value on record with id: xxxxxxxxxxxx:--" ...
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 ...
0
votes
1answer
21 views

Dedupe CloudPages DE records

I was building a test Cloud Page using the system CloudPages DE to capture user preferences. It had no problem capturing input information. However, when users re-entered their info and change their ...
0
votes
1answer
23 views

Finding semi duplicates

I have been given a list of 2000 accounts my sales rep got from some marketing company. Is there a better way than: SELECT AccountId, Name FROM Account WHERE Name LIKE '%Some row[1] substring%' ...
0
votes
0answers
61 views

Duplicate Record Sets - Action on “Compare and Merge”

How can i add an action (process builder or call Apex Class) on Duplicate Record Set Object when clicking this button on top right? Compare and merge? I want to add an action to somehow lock the ...
1
vote
0answers
312 views

How does Potential Duplicate Component and Duplicate Record Sets work?

TLDR: Can we retrieve duplicate records in 'View Duplicates' using Apex or SOQL. Details I am planning to create a list view with a column of 'View Duplicates' link or button. Similar to below image ...
0
votes
0answers
18 views

Ways to Add Custom Actions - Button on Duplicate Record Set

I would like when a user makes an update on the status of a Duplicate Record Set to show a custom confirmation message. Is there any possible way this could be achieved? Is i see, i cannot create ...

1
2 3 4 5
7