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
Chelsea LukowskiChelsea Lukowski 

Set Record Owner to the same person Assigned to in an Approval Process

I have a custom object called AS400_Report__c, I have an apporval process associated to this report. I want the record owner to match the Assigned to user in the Approval Process. I am thinking that I will need a trigger, but I am not sure how to reference ProcessInstance. Help?
Andrew EchevarriaAndrew Echevarria
Someone else faced this issue and some solutions were proposed here:
https://success.salesforce.com/answers?id=90630000000giDzAAI

An idea has also been submitted to allow validation for Approval Process, you can upvote it here
https://success.salesforce.com/ideaview?id=087300000007lcTAAQ