- August 3, 2018 at 12:34 pm #30979Avnish Yadav #3
Can we call a Future method from Salesforce batch class?
Can we call a Future method from Salesforce batch class?August 8, 2018 at 7:13 am #31247Prachi #9
Salesforce doesn’t allow a future method to be called from another future method or a batch job.
While @Future cannot be called from a batch class, a webservice can. A webservice can also call an @future method. So have your batch class call an apex webservice that in turn calls your @future method.
Thanks.September 16, 2018 at 5:26 pm #34584shariq #1
To make it more simple –
You can’t call asynchronous method from another asynchronous method.
Hope this helps.September 16, 2018 at 5:34 pm #34586
Please Register to reply to this topic. /