You need to sign in to do that
Don't have an account?

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.
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.
Do you have method inside loop ?
Thank You! No, I am not calling method inside loop.
Thanks
Venkat
Can you post your class code as well?