function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
PriyasoftPriyasoft 

SOSL query problem while using search call.

I am getting exception while trying to retrieve object details from Salesforce by passing mutilpe email IDs in search call query.

 

I tried with below two ways:

 

First try: binding.search("find {\"dummy1@priyanet.com\", \"dummy2@priyanet.com\" , \"dummy3@pryanet.com\"} in email fields returning contact(id, firstname, lastname),lead(id, firstname, lastname)");

 

Second try: binding.search("find {dummy1@priyanet.com, dummy2@priyanet.com, dummy3@pryanet.com} in email fields returning contact(id, firstname, lastname),lead(id, firstname, lastname)");

 

Is there any other way to get result. Please help me out.Its urgent.

I apprecialte if you provide any soulution.