System Limit Exception: Too many SOSL queries : [email protected] (Sasid)

System Limit Exception: Too many SOSL queries
by: [email protected] (Sasid)
blow post content copied from  SFDC Sasid
click here to view original post

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

July 02, 2022 at 03:00PM
Click here for more details...

The original post is available in SFDC Sasid by [email protected] (Sasid)
this post has been published as it is through automation. Automation script brings all the top bloggers post under a single umbrella.
The purpose of this blog, Follow the top Salesforce bloggers and collect all blogs in a single place through automation.