A company has code to update a Request and Request Lines and make a callout to their external ERP system’s REST endpoint with the updated records.
What should be done to address the problem?
A . Move the CalloutUtil.makeRestCallout method call below the catch block.
B. Remove the Database.setSavepoint and Database.rollback.
C. Change the CalloutUtil.makeRastCallout to an @InvocableMethed method.
D. Change the CalloutUtil.makeRestCallout to an @future method.
Answer: D
Latest PDII Dumps Valid Version with 280 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund