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, ...
2
votes
1answer
1k views

Retreiving the value causing a DUPLICATE_VALUE DML Exception

I have an inventory management system I am working on and I have the need to let users input values to be created into inventory. These values consist of numbers that are used as the name for the ...
1
vote
1answer
365 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 ...
4
votes
1answer
584 views

What are these DMLOptions.DuplicateRuleHeader Properties?

The new Duplicate Management brings in the new DMLOptions class DuplicateRuleHeader. According to the Documentation, the property allowSave can be set to true, to force the database to ignore ...
4
votes
2answers
3k 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 ...
17
votes
3answers
13k 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 ...
4
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
763 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
579 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
199 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
165 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
4k 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
134 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
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
3 4 5 6
7