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

@future method errors
Hi,
I have a method which is marked as future which is being called from 2 triggers. But when executed in production I get the following error:
Failed to invoke future method
caused by: System.AsyncException: Future method cannot be called from a future method:
Is this a case of recursion? I am not sure what the exact error is and how would I go about fixing this
Thanks
Gita

It means you are trying to call a future method from another future method which isn't allowed.

It seems when first trigger is calling future method and execution of future method calling trigger that again calling the same future method.