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

Popular Salesforce Videos