Skip to main content
YI-HSUAN SUN (Secom,Taiwan) 님이 #Sales Cloud에 질문했습니다

Hi everyone,

I would like to ask why "Opportunity Contact Role" is not listed as a target object in the Contact Action?

 

As far as I understand, the definition of target object is "any object that has a parent-child or lookup relationship to the host object."

To confirm this, I have checked the target objects in the Contact Actions and looked into the "Fields & Relationships" of Asset, Case, Events, and Order, and found that they all have a lookup relationship to the Contact object.Target Object Definition

However, Opportunity Contact Role also has a lookup field for the Contact object, why isn't it listed as a target object in the Contact Action?截圖 2023-05-01 17.56.20.png

Thank you!

답변 2개
  1. 2023년 5월 1일 오전 10:26

    HI SUN,

     

    As a Salesforce developer, you may have noticed that the "Opportunity Contact Role" object is not listed as a target object in the Contact Action. This is because the Contact Action is primarily designed to perform actions on individual Contacts, such as updating fields, creating tasks, or sending emails.

    The "Opportunity Contact Role" object, on the other hand, represents the association between a Contact and an Opportunity, and it contains additional information such as the role of the Contact in the Opportunity (e.g., Decision Maker, Influencer, etc.).

    Since the "Opportunity Contact Role" object is not directly associated with an individual Contact record, it is not listed as a target object in the Contact Action. However, you can still perform actions on "Opportunity Contact Role" records through other means, such as Apex code or Process Builder, by querying for and updating the related records.

     

    Please mark it as best answer if your issue gets solved!!!!!

    Thanks,

    Pankajkumar Bais

    salesforce Architect/Freelancer

    linkedin.com/in/pankajkumar-bais-57b5a4118

0/9000