March 4, 2014

How to avoid CPU time exceeded exception in Salesforce?

1. Avoid nested loop. Make use of Map data type instead of nested loop.

2. Make use of future methods.

3. Try to use Aggregate SOQL.

Check the below link for more information


No comments:

Post a Comment