You need to sign in to do that
Don't have an account?
Akash Deokar
can we call future method from batch apex
can we call future method from batch apex?
Please explain in brief what needs to known to execute it.
Please explain in brief what needs to known to execute it.
No, We cannot call future methods directly from batch apex but we can call a web service from batch class and that web service can call the @future method. Also, we can call the future method from the finish method in the batch class.
Please go to the below link for a detailed description of above two workarounds:
https://www.pebibits.com/future-method-asynchronous-apex/
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Ajay Dubedi
www.ajaydubedi.com