We are hitting the limit of Apex CPU time when we are approving the advanced approval records. So now ,we are thinking of shifting the logic to async but couldn't find anything related to it. As provided by salesforce, we have methods to submit a quote for approval through a custom VF page calling method(SBAA.ApprovalAPI.submit(quoteId, SBAA__Approval__c.Quote__c);) but couldn't find a similar method to approve an approval record.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.