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
DevSFDevSF 

How To Change Account Owner With The Approver Name After Submitting For Approval.

Hi friends,

My Scenario is  :

When a user submitts a record for approval. The the owner of the record should be changed.

It means that "AB" is the  current record owner and he submits for approval for "CD". Then the Owner field on the record should be
changed to "CD".

I need the record owner fields to updated by the approver who approves the record.

I tried using workflow field update which changes the owner name. But i need to specify the user in field update.
If it is assigned to approval for a different user then how to update then....?

Attached is the screenshot of field update.

WorkFlow Field Update ScreenShot




How can i achieve this friends.

Will i need to code or can this be achieved using standard functionalities

Any help friends..!