ThingWorx Flow > Connectors Overview > System Connectors > Salesforce > Executes SOQL query
  
Executes SOQL query
Use this action to execute the specified SOQL query. For more information, refer to the API documentation.
Using the Executes SOQL query Action
To use this action in your workflow, connect it to ThingWorx Flow. To connect to the flow, do the following:
1. Drag the Executes SOQL query action under the Salesforce connector to the canvas, place the pointer on the action, and then click or double-click the action. The Executes SOQL query action window opens.
2. Edit the label name, if needed. By default, the label name is same as the action name.
3. To add an authorization, refer to the section Authorize Salesforce in the Salesforce connector topic.
* 
If you have previously added an authorization for Salesforce, select an authorization from the list.
4. Select the API Version to get performance feedback. Make sure that you use API version 30.0 and later.
5. Select the Query operation method from the list to perform the operation on the query. For more information, refer to the API documentation. Select one of the following methods:
Execute the query—Enter the SOQL Query to execute.
Retrieving query performance feedback without executing the query—Enter the SOQL Query to execute.
Retrieving query performance feedback on a report or list view—Enter the Report or List view ID to retrieve the query performance on.
Retrieving additional query results if the initial results are too large—Enter Query Identifier to retrieve further set of results.
6. Click Done.