I have created a Data Map that allows data from 1 CSV to be imported into 2 entities. These are 2 custom entities - an entity that contains my main data and a lookup. The Data Map populates the lookup first so that the required related lookup data exists.
The problem I have is if a record in the csv file already has an entry that already exists in the lookup entity then the import fails for the main entity - the records are not imported due to a duplicate lookup reference found.
I have a duplicate detection rule set to prevent duplicate records being added to the lookup entity and this seems to be working as I do not have any duplicate records in the lookup entity.
However, it looks as if all the records are being imported into the lookup entity but before the duplicate detection rule is triggered CRM is then trying to import the data into the main entity before the 'duplicate' lookup record is deleted - hence failure due to a duplicate lookup reference being found.
Any help will be much appreciated.
*This post is locked for comments