• John Radcliffe
  • NEWBIE
  • 10 Points
  • Member since 2019

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

I am building a flow to clone a closed-won opportunity in a pipeline for our Support team to conduct training etc. I need to bring all Opportunity Contact Roles with the clone. I figured out how to clone a single Contact Role, but most of our Opportunities have more than one, all of which we need. I've tried two methods:

First, Fast Lookup & Fast Create with sObject Collection Variables which succeeds in duplicating multiple Contact Roles but associates them with the closed-won opportunity, not the new Support Opportunity (I have the Support OpportunityID in a variable but haven't figured out how to use the Assignment element to replace the old OpportunityID with the new OpportunityID). 

Second, with Record Lookup & Record Create via a Loop. In this case, the loop succeeds in cloning the Contact Roles but only the first one - it gets hung up on the first ContactID and doesn't skip to the next one. 

What am I doing wrong? Either method is a viable solution, and any help would be greatly appreciated. 

John
Hello all,

I am building a flow to clone a closed-won opportunity in a pipeline for our Support team to conduct training etc. I need to bring all Opportunity Contact Roles with the clone. I figured out how to clone a single Contact Role, but most of our Opportunities have more than one, all of which we need. I've tried two methods:

First, Fast Lookup & Fast Create with sObject Collection Variables which succeeds in duplicating multiple Contact Roles but associates them with the closed-won opportunity, not the new Support Opportunity (I have the Support OpportunityID in a variable but haven't figured out how to use the Assignment element to replace the old OpportunityID with the new OpportunityID). 

Second, with Record Lookup & Record Create via a Loop. In this case, the loop succeeds in cloning the Contact Roles but only the first one - it gets hung up on the first ContactID and doesn't skip to the next one. 

What am I doing wrong? Either method is a viable solution, and any help would be greatly appreciated. 

John