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
srikanth challasrikanth challa 

Salesforce to Salesforce Integration

Hi Guys, we Implemented salesforce to salesforce Integration between two orgs and now we want to update the record automatically when the record in the source org is changed what is the process we need to follow. As the record Id will be different between the two orgs are we supposed to update based on the external Id's?

 
William TranWilliam Tran
Srikanth,

Salesforce to Salesforce is meant for "Sharing" new/changed data not to "Sync" exising data to keep both orgs the same.

Have you tried to test S2S integration yet? That is, create a connection, template, field mapping, and sending/accepting invites so that data flow from one org to another?

Here are same helpful resources:
1) For manual sharing

https://developer.salesforce.com/page/An_Introduction_to_Salesforce_to_Salesforce

2) For using code to trigger sharing

https://developer.salesforce.com/page/Best_Practices_for_Salesforce_to_Salesforce

Good luck

Thx