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
JenCalvertJenCalvert 

Automation of connections between Salesforce to Salesforce

Hopefully someone has figured a way out to automate the administration of the "Forward" and "Accept" functionality within the Salesforce to Salesforce configuration.  We will potentially have 100's of connections to manage and would like to develop something to do an automatic forward and accept due to the orgs both being internal orgs.  What would my best approach be?  Thank you in advance.
Best Answer chosen by Admin (Salesforce Developers) 
adi kurugantiadi kuruganti

yes this is possible today. Using the API feature (available since the Spring 09 release) you can automate the sharing and stop sharing of records using specific criteria. You'll need to use the PartnerNetworkRecordConnection table - insert is forwarding and delete is stop sharing. Details are in the Force.com Web Services api documentation: http://www.salesforce.com/us/developer/docs/api/index.htm 

 

With Summer '09 you can also auto-accept records from connections - this will be enabled for all active orgs starting June 24th

All Answers

adi kurugantiadi kuruganti

From a product perspective you'll find new features in the next few releases that will help you solve this problem. Here goes

1) Today you can use assignment and workflow rules to automatically forward leads and custom objects. We know this isn't possible with the other objects today but if you're using leads it works today

2) Our next release is coming out in the early October timeframe. At that point we're introducing a couple of enhancements that should help

a) Using list view criteria customers can mass share records (e.g. opps, accts, leads etc) to connections. We've also introduced the ability to share related records (e.g. Accounts with opptys, contacts, orders) - so you can mass share both parent and child records at one go - this should help you scale your sharing with the 100 connections

b) We've introduced the concept of 'auto-accept of child records'. So in the scenario where a customer shares accounts and related oppty's, contacts, orders - once the target org accepts the parent account the child records are automatically inserted and related to the right parent in the target org (similar to how Activity sharing works today)

3) In upcoming releases we'll introduce the following key features (not exhaustive)

a) Ability to automatically accept the parent record (soon)

b) Ability to share the same record with multiple connections (soon)

c) Integrate S2S within our sharing architecture so that records get forwarded automatically (this is probably a mid next year feature since it's quite complex)

d) open forwarding, accepting, stop-sharing in the external api so customers can build their own custom rules (mid next year)

I know this doesn't achieve all your goals, but with our agile process, we're hearing you guys and adding features that make sharing with other companies as easy as possible. The next release in October will make sharing a lot more scalable and robust and this trend will continue with subsequent releases
adi kurugantiadi kuruganti
With Spring '09 you can automate the forwarding and stop sharing of records. In summer we'll allow customers to automate the acceptance of records. You can find more details on Spring 09 here: http://blogs.salesforce.com/prm/2009/02/new-spring-09-f.html
MATTYBMEMATTYBME

Is this possible today?

 

We want to automate the sharing externally on Cases so it is not a manual click on each Case when it is created. I posted http://community.salesforce.com/sforce/board/message?board.id=general_development&thread.id=30405

Asking this question.

adi kurugantiadi kuruganti

yes this is possible today. Using the API feature (available since the Spring 09 release) you can automate the sharing and stop sharing of records using specific criteria. You'll need to use the PartnerNetworkRecordConnection table - insert is forwarding and delete is stop sharing. Details are in the Force.com Web Services api documentation: http://www.salesforce.com/us/developer/docs/api/index.htm 

 

With Summer '09 you can also auto-accept records from connections - this will be enabled for all active orgs starting June 24th

This was selected as the best answer