Execution error
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The method violates async execution rules.
Problem Explanation
Future methods require strict signatures and cannot be chained improperly.
Root Cause(s)
1. Non-static method
2. Unsupported parameter types
3. Called from another async context
Step-by-Step Solution
1. Mark method
@futureandstatic2. Use primitive parameters only
3. Avoid calling from batch or future
Edge Cases & Variations
1. Apex is more flexible
2. Limits differ between async types
Common Mistakes to Avoid
1. Passing sObjects
2. Expecting immediate execution