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.

Cheers!

No comments:

Post a Comment