You need to sign in to do that
Don't have an account?
SFDC Dev16
Troubleshooting Apex Warning Emails
Hi,
We are receiving the warning email from salesforce following the execution of an Apex function. There is no indication of what class this is referring to, so we cannot debug. Is there a way to figure out the class is the root cause.
Thanks!
We are receiving the warning email from salesforce following the execution of an Apex function. There is no indication of what class this is referring to, so we cannot debug. Is there a way to figure out the class is the root cause.
Thanks!
Regards,
Mahesh
Thanks for looking into it and below is a screenshot of the email.
To resolve this,
You need to have a filter on any indexed field in soql queries, Please go through below link to make selective soql:-
http://www.salesforce.com/us/developer/docs/apexcode/Content/langCon_apex_SOQL_VLSQ.htm
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_SOQL_VLSQ.htm
https://help.salesforce.com/apex/HTViewSolution?urlname=How-to-make-my-SOQL-query-selective&language=en_US
You need to contact Salesforce and ask them to provide the appropiate query along with the other details.
Once the query is identified, Salesforce will create an index field or skinny table and fix it by themselves
Regards,
Mahesh