System Limit Exception: Too many SOSL queries

System Limit Exception: Too many SOSL queries 

Limit Description: Total number of SOSL queries issued is 20, for both Synchronous and Asynchronous Limit. 

Apex Class (.apxc)

Execute Anonymous with data exceeding the limit

Execute Anonymous Error

Solution: We need to reduce the number of SOSL queries per transaction within 20, as per the limit. 

Execute Anonymous with data within the limit

Please share your feedback or comments or queries related to this post, on below comment section. 

Hashtags - #sfdcsasid #sfdc #sasid #salesforce #sosllimit #toomanysoslqueries #systemexception

Comments