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
jojoforcejojoforce 

Salesforce To Salesforce Connect

Anybody have any experience using the Salesforce To Salesforce Connection with record types? Both ORG A and ORG B have the exact record type developerName (The RecordTypeID is different between the two org of course). It seems like Salesforce To Salesforce connect is randomly assigning record types even tho the same RecordTye developer name exist. 

 

I'm trying to prevent having to write a trigger on the Account object if by all possible, and was wondering if anyone else have encountered this issue. Thanks everyone in advance for the help!

Best Answer chosen by Admin (Salesforce Developers) 
Vinita_SFDCVinita_SFDC

Hello,

 

The Record Type field cannot be subscribed to when mapping fields in Salesforce to Salesforce. As a work around an organization can do the following:

 

  • Have the sending organization create text field that is automatically updated with the Record Type name via a Work Flow Rule
  • Have the receiving organization create a text field to receive the incoming value and then setup a Work Flow Rule to update the Record Type field based off of this value.
  • The final step would be mapping the two newly created Text Fields together.