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
Gbolahan JolapamoGbolahan Jolapamo 

Changing Dynamically

Hello everyone,

I want opportunity owner to change from partner users to approving managers in salesforce after the opportnities have been approved. How do I establish a trigger to execute this dynamically??  ​

Thanks. 
James LoghryJames Loghry
Hi Gbolahan,

Yes, you could use either a trigger or a process to automate the Opportunity owner change.

For the process builder approach, check out the Process Automation module here: https://trailhead.salesforce.com/module/business_process_automation

Otherwise, check out the Apex Trigger module here: https://trailhead.salesforce.com/module/apex_triggers
 
Gbolahan JolapamoGbolahan Jolapamo
Hello James, 

Thanks for the link above. I was able to create a builder around the process and all record updates were easily possible following the steps. 


Solved.