Activity › Forums › Salesforce® Discussions › How can we call a web service from batch class in Salesforce ?

  • Deepak

    Member
    February 14, 2020 at 1:42 PM

    Hi Kirandeep,

    We can call a web service from batch class in Salesforce by implementing the below syntax:

    global class BatchClassName implements Database.Batchable<sObject>,Database.AllowsCallouts{

    }

    Hope it helps!

Log In to reply.

Popular Salesforce Blogs

Success Stories – How DemandBlue Helped Its Clients Improve Revenue Recognition with Salesforce Revenue Cloud Implementation

Blog in

Businesses that deal with subscription-based contracts, usage-based billing or other complex contracts face several difficulties in managing their billing cycle. Though Salesforce CPQ implementation does the heavy-lifting…

Popular Salesforce Videos