People who code: we want your input. Take the Survey

Questions tagged [duplicate-management]

For questions regarding duplicate management in your Salesforce Organization.

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

salesforce toolkit php create duplicate records

I am using salesforce toolkit PHP to create an Opportunity. Everything works great but I random duplicate record creation which is driving me crazy. Does anyone know how to fix this problem? I can't ...
0
votes
0answers
15 views

Duplicate Record Set not Automatically creating the records

We have duplicate rule activated in our Sandbox Org that matches F/N and L/N of contact and I also created a Custom report type to show Duplicate Record set and Record items. We want to get report of ...
0
votes
0answers
35 views

Duplicate Rules

I have a duplicate rule that was recently created and I would like to know what would be the best process to run that rule against all the Account records in my org. The reason being I’m seeing a lot ...
0
votes
0answers
28 views

Subject information duplicates whenever customer replies to email-to-case

I'm working with email-to-case and this request I've been struggling with is that our client did not want the thread id on the subject anymore, so I've only left it on the body instead, but now...and ...
0
votes
1answer
22 views

Allow only one record where two lookup fields match another

I'm trying to prevent duplicate records from being created. I have an application object with two relevant fields that looks like this: Application__c: Applicant (Lookup(User)) School (Lookup(...
0
votes
0answers
27 views

Error EntityInfo of EntityObject cannot be set to null

I get the following error message: EntityInfo of EntityObject cannot be set to null when my apex test gets to this code: Datacloud.FindDuplicatesResult[] results = new List<Datacloud....
2
votes
1answer
35 views

config vs code for matching/duplicate checking

If I'm inserting records, it's really easy to query to see if another record already exists with the same values in a before trigger. Code like this has worked for me: private static Map<String, ...
0
votes
1answer
34 views

SFMC - SMS Data Extension, having multiple of the same mobile numbers (different Subscriber Key) in the DE - only sends to ONE of the duplicates [duplicate]

EDIT: Duplicates in sendable DE for MobileConnect is not a duplicate of my question. I recognize that this is a limitation of SFMC and am inquiring about any known workarounds. The linked question ...
0
votes
1answer
26 views

De-duplicating emails before send

I am trying to write a query to avoid duplicate emails being sent out. I am using contact ID as subscriber key, so multiple contacts can share the same email address across the DB. I do not want to be ...
1
vote
0answers
21 views

Duplicate Rule does not apply when condition is fulfilled only after update

I have a custom object with the following fields: active__c (Checkbox) value__c (Text) I want to make sure there are no two active records that have the field value__c populated with the same data, ...
0
votes
1answer
31 views

Match Ownership in Duplicate Leads

This is my first question here. I'm working with a company that allows duplicate leads, but they want all the duplicate leads to have the same owner. I'm trying to write a before insert, before update ...
0
votes
0answers
19 views

Leads created from WebtoLead are not identified as Potential Duplicates

I want duplicate Leads to be created from web to lead , however the Lead should be identified as Duplicate What I have done ? Created and activated the Duplicate Rule for Lead where Matching Rule is ...
0
votes
1answer
63 views

How to capture duplicate rules in flows?

one of the steps of my flow is to create a contact. The users enter in the interface all the details and click next, my flow then tries to save the contact; however, if salesforce detects a duplicate ...
2
votes
2answers
134 views

Find duplicate records of Account/Lead but without insert

I'm wondering if I can use the duplicate management rules to find duplicate account/Lead records but if the provided (via API) record does not have a duplicate, then I don't want to insert a record. ...
0
votes
1answer
18 views

Duplicate Rule is causing trigger updates to fail?

Duplicate Rule is causing trigger updates to fail(DML exception stack trace is showing duplicate failure). even allow is given at duplicate rule level. Any suggestions or solution?
0
votes
0answers
50 views

Find duplicate account and contact records when converting via Apex

I am converting leads through a HttpPost method and using the Database.LeadConvert class for conversion. After conversion I am working the opportunity and not with the contact or the account; however, ...
0
votes
0answers
20 views

Salesforce Marketing Cloud > Landing Pages > Insert Error Message for Duplicate Registration on a Landing Page

Salesforce Marketing Cloud > Landing Pages > Insert Error Message for Duplicate Registration on a Landing Page... I want to make my landing page return a message saying that the record is ...
0
votes
0answers
32 views

How to utilize MatchingRules in Apex to find all leads related to an account

Salesforce has a Matched Leads Component that can be placed on an account to show which leads match the account. The problem is that the layout is not conducive to the work that my company needs to do ...
0
votes
0answers
20 views

DUPLICATES_DETECTED when creating a contact for the account [duplicate]

We have some accounts that start with "Business". And we already recorded their information in custom fields in the account object. Business first name, business last name, and email ...
0
votes
1answer
71 views

Potencial duplicates component on Communities

Is it possible to add the Potencial duplicates component to Lightning Communities?
1
vote
0answers
116 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 ...
2
votes
1answer
211 views

Hitting Standard Duplicate Rule

I'm playing with a trigger exercise, that consists of creating a trigger to create 10 Opportunities whenever a account with more than 100 employees are created. I made the following: trigger ...
0
votes
1answer
46 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
96 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
39 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
18 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
125 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
94 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
642 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
0answers
148 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
151 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
16 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
51 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
116 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
260 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
84 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
221 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
230 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
107 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
152 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
48 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 ...
4
votes
1answer
1k 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
100 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
224 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
31 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<...
2
votes
1answer
121 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 ...
2
votes
0answers
171 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
51 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
181 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
34 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
2 3 4 5
7