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
StenderStender 

Salesforce to Salesforce - Automatic updates to Case when Shared

Hello,

I am setting up a S2S connection that will share cases (and only SPECIFIC cases) to a partner Org (as well as Case Comments and Attachments).  The sharing of the cases will be done manually using the "External Sharing" related list as only some cases will need to be submitted to the partner.  However, I need to find a way to make some automatic updates to the case when it is first shared to the partner org, is there a way I can detect a case has been shared and make these updates using workflow?  Basically, is there a field on cases that is populated when they are shared that I can use to trigger the WF to fire or is this something I will have to write a trigger on the PartnerNetworkRecordConnection object creation to get to happen?
ShashForceShashForce
Hi,

Workflow field update will not be possible here. You will have to go the Trigger way!

Thanks,
Shashank