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

Auto Approval is feasible?


  I have an Approval process, and I want to auto approve if 36 hours after submit for Approval, approver does not approve.

As record get locked after submit, my time dependent work not working, any other option available in SFDC.




After Spring '10 is rolled out you might try doing it with Scheduled Apex.
we are actually doing this exact same thing using scheduled apex just like werewolf.  we developed in when scheduled apex was in pilot.

How do you auto approve? It appears to me that the Approval object doesn't allow triggers. Is there a more elegant way of doing it than querying all open approval requests and matching against Opp id?