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
Ronaldo CostaRonaldo Costa 

pass primary contact role's email into opportunity

Hi,

I need to pass the primary contact role's email into the opportunity record.
Can you please advise if this will require a trigger/apex code or if it can be accomplish only with workflow rules?


Thanks,
Ronaldo.
Neetu_BansalNeetu_Bansal
Hi Ronaldo,

Contact will be associated to your opportunity so you can create Formula field on Opportunity for this.

If you don't want formula field, you can write trigger also.

Thanks,
Neetu
Jennifer AbrahamzonJennifer Abrahamzon