Search
Executes a text search in your organization's data.
Stored Procedure-Specific Information
To search using a search term:EXEC Search SearchTerm='QATest2'
To search using a SOSL query:
EXEC Search SOSL='FIND {QATest2 OR John}'
To search within specific fields and return specific objects:
EXEC Search SOSL='FIND {1515} IN Name FIELDS RETURNING Account(Id, Phone, Name)'
Input
| Name | Type | Description |
| SearchTerm | String | The term for which we are globally searching. |
| SOSL | String | The Salesforce Object Search Language (SOSL) to construct text-based search queries. |
Result Set Columns
| Name | Type | Description |
| Results | String | The raw JSON response containing the globally search result |