Questions tagged [duplicate-management]

For questions regarding duplicate management in your Salesforce Organization.

Filter by
Sorted by
Tagged with
4
votes
2answers
2k views

Are Duplicate Rules Supported by Metadata

I've found how to reference Matching Rules by name in Metadata, but that's only the logic to identify a duplicate. I'm looking for how to reference Duplicate Rules by name in Metadata, which will ...
15
votes
3answers
8k views

Duplicate Matching Rules via rest API

So we are experimenting with the new duplicate matching rules in salesforce which seems to work great. My question is if its possible to use the more advanced features when working with data over the ...
3
votes
3answers
2k views

Is there a way to avoid sending duplicate email alerts?

I handle our support cases. I have a workflow rule that when a case is updated it sends a notification to the Case Owner and to the manager of the Account. Sometimes these two people are different, ...
2
votes
2answers
629 views

Get most recent record when duplicates are found

I'm trying to do a query of child objects that looks like this List<Child__c> childList = new List<Child__c>(); childList = [SELECT Id, Status__c, Team_Member__c, Deactivation_Date__c ...
0
votes
1answer
461 views

Record Insert Delay - a Salesforce “queue” - avoiding Duplicate Leads/Contacts

I have been researching this, and am coming up with very little. I'm coming here before I attempt talking to Salesforce. General I've noticed in the past 2+ months that when inserting a new record, ...
1
vote
1answer
195 views

Find Duplicate before create custom object record

I'm new to trigger and trying to write one that will create custom object Existing_Service__c based on OpportunityLineItem when Oppty stage is Won - All Approved. But I've facing a few issues: - How ...
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. ...
7
votes
2answers
7k views

deduping existng leads and contacts

We have a client of ours who has a lot of duplicate leads and contacts in their system. Now they finally decided to clean it up. What are the options available to effectively dedupe existing records ...
2
votes
2answers
112 views

Code Coverage 70% but I can't figure out how to make it to 75% or 100%

I am new to triggers. I will admit that but this is my first trigger and I really want it to work! My problem is that I still am receiving only 70% Code Coverage when the trigger works fine in ...
2
votes
0answers
153 views

Code coverage is 70% and I get a DUPLICATE_VALUE issue

Code coverage is 70% and when I dive into the problems I get a duplicate error. Please help I am new to writing triggers. Thank you ahead of time! Problem on several Lines Message: [object ...
3
votes
1answer
2k views

<unknown> duplicates value on record with id: <unknown>

As part of an ant deployment, to recently cleaned Org, I get the following: All Component Failures: 1. objects/CustomObject__c.object (CustomObject__c.SomeQueue) -- Warning: Added entity: ...
0
votes
3answers
129 views

Salesforce trigger prevent duplication

I have written a trigger which prevent duplicate name. please refer following condition. "Test" and "Te st" are same name (which mean don't need to consider any in between spaces.) "TEST" and "test" ...
1
vote
2answers
1k 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 ...