• Peely
  • NEWBIE
  • 0 Points
  • Member since 2003

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

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? 

  • June 30, 2009
  • Like
  • 0

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? 

  • June 30, 2009
  • Like
  • 0