How should the deve...
 
Notifications
Clear all

How should the developer enable this functionality?

1 Posts
1 Users
0 Likes
127 Views
(@katterjohnoctavio)
Noble Member
Joined: 2 years ago
Posts: 721
Topic starter  

A developer is working on code that requires a call to an external web service from a batch .

How should the developer enable this functionality?

  • A . Implement a custom System.CalloutException class
  • B . Include Database.AllowCallout() in the class definition
  • C . Implement an @future method for the callout, and invoke it from the batch
  • D . Specify "callout=true" in the batch implementation

Show Answer Hide Answer

Suggested Answer: B

   
Quote

Latest Salesforce PDII Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: