Loading tutorials
HttpRequest/Http/HttpResponse callout. It also assumes you have the previous chapter's refresher in6 min readHttpRequest, Http and HttpResponse. It covers the @future(callout=true) annotation: how to use it from a trigger, what it restricts, and where it fails.5 min readTrigger.new and Trigger.newMap contain, and know the difference between a primitive and an sObject. It also assumes y5 min readDatabase.AllowsCallouts. It also assumes you know the basic governor limits. Earlier chapters moved the callout out of the trigger. Here you will stop that asynchronous work from triggering itself again.5 min readDatabase.AllowsCallouts, and that you know the HTTP callout classes. Earlier chapters showed the happy path. Here you decide what happens when the callout does not work.5 min read@IsTest methods and assertions. It also assumes you have read the earlier chapters, so you know the trigger, the AccountSyncJob Queueable, and its AccountSyncFinalizer. Here you test that whole chain without a real network call.4 min read