function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VenkatVenkat 

System.LimitException: Too many future calls: 1

Hi,

I am calling Batch Apex and @future method from one trigger at a time, then its creating issue.

Trigger A on X(After update)
{
//This handler class will call the batch apex.      
HandlerClass1.BatchApexMethodCalling()

//This handler class will call the @future method.      
HandlerClass2.FutureMethodCalling()
}

If I comment any one of the handler class it is working fine. 
Please help me to resolve this issue.
Himanshu ParasharHimanshu Parashar
Hi Venkat,

Do you have method inside loop ?
VenkatVenkat
Hi Himanshu,

Thank You! No, I am not calling method inside loop.

Thanks
Venkat
Himanshu ParasharHimanshu Parashar
Hi Venkat,

Can you post your class code as well?