3

Is it possible to kickoff a Process Builder flow when a Contact is added as a Contact Role to an Opportunity? I don't see Opportunity Contact Role as an object that can be used to start the PB, so I'm wondering if there's another creative way to kick off the process?

4
  • 2
    Doubt it as triggers aren't support on Opportunity Contact Roles either.
    – Girbot
    Sep 2, 2016 at 17:13
  • 1
    @Girbot I wonder how many eager junior product managers come to SFDC to enable OCR as a trigger-able object only to discover that it will be on the roadmap for 2050 ? This limitation has been around for so long
    – cropredy
    Sep 2, 2016 at 17:50
  • One way to do it is to have a batch process evaluate new OCR records and do what you need to when you find a new one. Not ideal, or real time, but kinda what we are stuck with
    – Eric
    Sep 2, 2016 at 17:52
  • @Eric how would you query just the new OCR records? Didn't see any sort of created date to base the SOQL on for batch process.
    – Matt
    Sep 17, 2016 at 7:14

1 Answer 1

1

Like everyone in the comments said, creating Apex Triggers on the Opportunity Contact Role is not currently a functionality offered by Salesforce. There is currently an Idea on the community for this if you would like to go vote for it here. The other option is to run a query through Apex. Unfortunately this is not real time like Eric said.

We have been trying to get this for years and I have had to come up with numerous workarounds for different clients because of this lack of functionality. Best of luck!

5
  • Why is this an answer? It just restates what is in the comments
    – Eric
    Sep 2, 2016 at 20:17
  • Wanted to summarize everything so a best answer could be selected so we can keep the community clean. Also, wanted to provide the link to the idea that OP could go and vote for so we can get this functionality changed.
    – cmmoutes13
    Sep 2, 2016 at 20:25
  • I can remove it if you believe it is not necessary. You have the reputation seniority lol
    – cmmoutes13
    Sep 2, 2016 at 20:25
  • Nah. Let community decide. I am just one person
    – Eric
    Sep 2, 2016 at 20:26
  • 1
    You might want to just make it a wiki if you're simply summarizing comments.
    – Adrian Larson
    Sep 2, 2016 at 22:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .