Activity Forums Salesforce® Discussions Future Method And Batch Class in Salesforce

  • Kumar

    Member
    January 11, 2017 at 1:28 pm

    Hi Vikas,

    Yes, it will work but it not considered the best practice as you are calling an asynchronous code block inside an already asynchronous Execute method of the batch.

    You can very well only use the batch class for most use cases and still provide functionality.

    Hope this helps!

Log In to reply.

Popular Salesforce Blogs

AI in Salesforce

Transform businesses with the power of Artificial Intelligence leveraged through Salesforce Einstein

Blog in

Artificial Intelligence is powering next-generation customer experiences with smart predictions, intelligent recommendations, timely automation and much more. Gartner predicts that by 2020, a staggering 85% of…

Popular Salesforce Videos