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

Popular Salesforce Videos