Data-Migration-Tool icon indicating copy to clipboard operation
Data-Migration-Tool copied to clipboard

Event and Task did not get WhatId and WhoId migrated

Open harshalsakpal opened this issue 6 years ago • 2 comments

Hi,

I am trying to migrate Events and Tasks using the modified AccountwithAssetsAndOppties_hierarchical.json and following is my snippet. It did not migrate the Contact (WhoId) and Account (WhatId) in this case. Any idea why? In our org WhatId is always an Account and WhoId is always a Contact.

.... more objects before { "parentMappedField": "WhatId", "childObject": "Event", "ExternalIdField": "Account.External_Id__c", "where": " Account.External_Id__c = 'MYEXTID-JIBBER-JABBER-SELF' AND IsChild = FALSE", "unmappedFields": [ "AccountId" ], "sequence": 2 }, { "parentMappedField": "WhatId", "childObject": "Task", "ExternalIdField": "Account.External_Id__c", "where": " Account.External_Id__c = 'MYEXTID-JIBBER-JABBER-SELF'", "unmappedFields": [ "AccountId" ], "sequence": 3 }, .... more objects after

harshalsakpal avatar May 28 '19 01:05 harshalsakpal

@harshalsakpal : Have you already migrated accounts/contacts?

anoop-76 avatar May 28 '19 02:05 anoop-76

@anoop-76 Yes. Account, Opportunities, Leads migrated just fine. Event and Tasks too are getting migrated but without WhatId and WhoId association. I am not explicitly migrating Contacts because our managed package (Financial Services Cloud) triggers are creating Contact for every Account.

harshalsakpal avatar May 28 '19 04:05 harshalsakpal