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

  • How can we call a web service from batch class in Salesforce ?

    Posted by Kirandeep on February 13, 2020 at 3:16 pm

    How can we call a web service from batch class in Salesforce ?

    Deepak replied 5 years ago 2 Members · 1 Reply
  • 1 Reply
  • 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