You need to sign in to do that
Don't have an account?
Peely
Help with salesforce to salesforce Apex Trigger
I'm trying to Forward an Opportunity to a connection, based on it reaching a certain stage. I have the first part of the code working, (yes it was very easy :)).
for(Opportunity opp: Trigger.new){
if (opp.StageName == 'Closed Won')
opp.OwnerId = '00530000001YYX2' ;
}
}
But now I'm trying to unpickle how S2S works internally. How do you forward a record to a connection programatically?
All Answers