I have two future methods f1 & f2.
Each of them takes long time to process as such I have annotated them as @future.
There is a scenario in which I need to make a callout to f2 from f1.
Any workarounds to achieve this ?.
I have two future methods f1 & f2.
Each of them takes long time to process as such I have annotated them as @future.
There is a scenario in which I need to make a callout to f2 from f1.
Any workarounds to achieve this ?.
Best Answer
You cannot call another future method from a future method. As per Salesforce documentation,
If you do not have dependency between f1 & f2, you can call both methods one by one from original class.