May 2019
Intermediate to advanced
546 pages
12h 41m
English
Salesforce has defined some interfaces that you can use during your development. One of them is the Queueable interface. You launch a job and place this job in a queue.
In this class, you can perform your callout in the main execute method of the class (don't forget, an interface has methods where you need to implement all of them), and you call the Queueable class from the trigger.
The benefits of a Queueable class are the support for things that the @future method doesn't have:
Read now
Unlock full access