You need to sign in to do that
Don't have an account?
Ab
Error System.AsyncException
Hello,
I get below error when executing trigger
how will i be able to resolve it, making sure that the the code is exeuted alteast once.
I get below error when executing trigger
System.AsyncException: Future method cannot be called from a future or batch method:My code is something like below:
trigger triggername on custom__c (after update, after insert) { Call.calculate('abc'); } global class Call { @Future(callout=true) Public static void calculate(String value) { //Do something } }
how will i be able to resolve it, making sure that the the code is exeuted alteast once.
All Answers
Callouts not supported to global classes.