function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion


Hi all,


I'm using salesforce to salesforce data migration for migrating huge amount of data from one organisation to another.

At first I send all account records and related contact records through apex coding. Account migration is successful. But the problem is coming in related contact records.


Some contact records are migrating as per the relationship with its respective account and the migration is fine. But some contact records are not migrating at all.


Lets say for e.g

Account                       Contact

    A                                      C1

    A                                      C2


This is migrating as per the relationship(both account and respective contacts)


Account                       Contact

    B                                     D1

    B                                     D2

Only the account is migrated and the contacts are not migrated.


After that I also tried to transfer those contacts manually, but still they are not migrated and the status is showing as Pending(Sent).

Is there any reason for which some particular contact records are not migrating using salesforce to salesforce migration?

If anyone has any solution, kindly help me out


Thanks in advance



Try like this



Magulan D certified Developer.

SFDC Blog | SFDC Site

If this post is your solution, kindly mark this as the solution and give Kudos.


Hi Magu,


Yes I had done all that. As I shared I transferred Accounts and some contacts successfully using that. But for some contacts it is showing as pending(sent).