Skip to main content

Posts

Showing posts from November, 2017

Force recall a Salesforce approval process

Non-submitter and non-administrator approval recall Salesforce lacks the functionality to recall an in-flight approval process for anyone other than the original submitter or a system administrator. For our latest client this posed a problem as their specific business needs required the ability to recall an approval one step back in a multi person process, and giving the approvers administrative permissions posed an unacceptable security risk. Thus until Salesforce implements this idea (please upvote) to extend recalling to record owners, below approach workaround will accomplish approval recall without compromising security - albeit in an interesting way. setup an email service that runs in elevated privileges and recalls force recall an approval provide normal users the ability to execute an Apex method that internally emails that service Reference setup Below are the relevant bits extracted from a working solution, leverage and adapt to your own unique solution. Ape