Activity Forums Salesforce Questions and Answers How can we call a web service from batch class in Salesforce ?

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

  • Kirandeep

    Member
    February 13, 2020 at 3:16 pm

    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!

Viewing 1 - 2 of 2 posts

Log in to reply.

Original Post
0 of 0 posts June 2018
Now