function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
EverythingsJakeEverythingsJake 

Update Opportunity (field) when Contact (via ContactRole) meets declared criteria

Anyone know if this is even possible? I'm not looking for the Apex code, here (though would graciously accept anyone's generosity), but I just want to know if it is possible. I'm understanding that the ContactRole object doesn't allow triggers (!) so any help/update/hints would be greatly appreciated!

 

Thank you,

 

Jake

MandyKoolMandyKool

Hi,

 

If you could explain in brief what exactly you want to achieve; we can try to find out a workaround ;)

EverythingsJakeEverythingsJake

Possible Objects Involved

Opportunity

 - Condition

    - Checkbox field named Sales_ready__c

       - Update Field

ContactRole

Contact

 - Condition

    - Checkbox field named  Sales_ready__c


Description of Functionality:

  1. If an Opportunity record has its Sales_ready__c checkbox field marked FALSE and
  2. a Contact that has its Sales_ready__c checkbox field marked TRUE is added to the Opportunity via the Contact Role then
  3. the related Opportunity’s Sales_ready__c checkbox field is marked TRUE.