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
Alok SethiaAlok Sethia 

How to update owner as a particular user say Rahul when record is created and update it to the owner of the record when owner is changed using change owner?

I tried doing through formula field and workflow but it didnt work. please suggest me how to do..
mukesh guptamukesh gupta
Hi Alok, 

You can use workflow, 

Create a new workflow rule 
Choose onle Record created 
After that update record Owner  field update

if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh 
Alok SethiaAlok Sethia
@mukesh thank you for replying. But I dont think both requirements will satisfy with Workflow rule. One is when a record is created then it should update value of a field say assignee as Rahul and second is when change owner is done, then it should update as the owner. I guess my question was not clear. 
mukesh guptamukesh gupta
Alok,

Means assignee is a fields that's will update by Create and Edit Time. 

Two workflow rules:-

WorkFlow 1:- 
Created->> update Assigne to Rahul

WorkFlow 2:- Created and any time it's edited to subsequentila meet criteria 
                        Rule Criteria:-  NOT(ISNEW())

 then update Assigne to Owner


if you need any assistanse, Please let me know!!

Kindly mark my solution as the best answer if it helps you.

Thanks
Mukesh 




 
Alok SethiaAlok Sethia
WorkFlow 2:- Created and any time it's edited to subsequentila meet criteria 
                        Rule Criteria:-  NOT(ISNEW())

this isnt working. pls can you cross check if its working for you.