function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Yes you can. A Queueable can call another Queueable, a Batchable can call another Batchable in the finish method, and Scheduleable methods can call Batchable and Queueable methods.
If this helps, Please mark it as best answer.
Thanks!
I want to know whether we can call asynchronous apex from execute() method of Batch class?
We can call a queueble apex from execute method of the batch class.
Please find the below question for similar solution (https://salesforce.stackexchange.com/questions/206814/solution-on-calling-queueable-from-batch-causing-exception-of-system-limitexcep)
We can call another batch class from batch in Finish method only.
Please find the below article (https://www.emizentech.com/blog/call-batch-apex-from-another-batch-apex.html) for calling batch from another batch.
Let me know if you face any issues.
If this solution helps, Please mark it as best answer.
Thanks,