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
Tarun MukhiaTarun Mukhia 

How to change the owner of the record via trigger?

Hi,
I want to add one line to the trigger.
On-boarding owner to be changed to match the Applicant's Hiring Manager. 
Can someone please help. 
User-added image
Thanks
Tarun

 
Best Answer chosen by Tarun Mukhia
Abhishek BansalAbhishek Bansal
Hi Tarun,

Please use OwnerId in place of Owner.

Thanks,
Abhishek Bansal.

All Answers

Abhishek BansalAbhishek Bansal
Hi Tarun,

Please use OwnerId in place of Owner.

Thanks,
Abhishek Bansal.
This was selected as the best answer
Tarun MukhiaTarun Mukhia
Thank you Abhishek!