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
AtiqahAtiqah 

Auto approved record

Hi all,

I would like to ask if it is possible to auto-approve the record if the case status is closed. Here is the scenario:

A user submits a case for approval, however, the approver closes the case. When the case is closed, the case should be auto-approved. 

I see we can auto-submit the record, but I don't see if it is possible to auto-approve records since we cannot update processInstence object
VinayVinay (Salesforce Developers) 
Hi Atiqah,

I dont think currently we can auto approve record based on certain conditions.

Kindly review limitation below.
https://ideas.salesforce.com/s/idea/a0B8W00000GdYgzUAF/multiple-approval-steps-for-auto-approve-or-auto-reject-approval-processes

Please mark as Best Answer if above information was helpful.

Thanks,