forcedotcom / SFDX-Data-Move-Utility

SFDMU is a cutting-edge Salesforce data migration tool for seamless org population from other orgs or CSV files. It handles all CRUD operations on multiple related objects in one go.
BSD 3-Clause "New" or "Revised" License
450 stars 76 forks source link

[QUESTION] - Unable to copy external object references #774

Closed akingumusel closed 4 months ago

akingumusel commented 5 months ago

Environment

We are trying to migrate data between 2 orgs (Org A to Org B). Both orgs are connected to the same 3rd org (Org C), which is connected with the Salesforce Connector from Org A and B. Certain objects are exposed as external objects. Account object in Org A and Org B has external lookup to object in Org C.

Issue When we are trying to migrate the Account object. Somehow the external lookup values are not copied over. We tried using "all" multiselect or specifying the external lookup API name directly. When we check the logs, actually the tool queries the external object to find the records, and reports that 1 record is found. But the field is left null in Org B after the migration.

We tried various simulation methods to do a simple regex replacement with useValueMapping, where we tried to do any match (.+) and replace it with $1, since the external reference id will be same in both orgs, to carry it over as is. But still the generated CSV contains no values.

Not sure what the problem is. Will appreciate if you can help.

hknokh commented 5 months ago

Hello, @akingumusel

Thank you for reaching out. I will do my best to assist you as quickly as possible and will keep you updated on my progress.

Cheers

akingumusel commented 5 months ago

So I debugged through a test run. What I observed as the problems are:

akingumusel commented 5 months ago

Update from my end:

github-actions[bot] commented 4 months ago

This case has been marked as 'to-be-closed', since it has no activity for the 3 days.
It will be automatically closed in another 3 days of inactivity.

github-actions[bot] commented 4 months ago

This case has been closed, since it has no activity for the last 6 days. Feel free to reopen it, if you need more help.