On this page
...
You can use this Snap to perform bulk SOQL queries using Salesforce Bulk API 2.0.
Prerequisites
Valid Salesforce OAuth 2 account with Read permissions.
...
- This Snap performs batch processing, that is, a batch of input documents are processed for each HTTP request sent to Salesforce. Values of all the expression-enabled fields must remain constant during the Snap execution or validation. Hence, all expression fields can support Pipeline parameters only when they are expression-enabled. The input data parameters are not supported for expression fields, for example, $serviceVersion.
Can execute up to 10,000 query jobs in a 24-hour rolling window.
Can store up to 1TB of query results in a 24-hour rolling window.
- Supports Salesforce Bulk Query service version 47.0 and above.
SOQL queries do not support the following commands:
COUNT
ROLLUPSUM
GROUP BY CUBE
OFFSET
Nested SOQL queries
Snap
...
Views
View Type | Type of View | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input | Document |
|
| A document containing values required for the bulk query. |
Output | Document |
|
| A document containing the results of the query performed by the Snap. |
...
Field | Field Type | Description | |||||||
---|---|---|---|---|---|---|---|---|---|
Label* | String | Specify the name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline. Default Value: Salesforce Bulk Query | |||||||
Service Version* | String/Expression | Specify the version number associated with the Salesforce service that you want to connect to. Alternatively, click the Suggestion icon to fetch the list of versions and select the desired version. | |||||||
SOQL Query* | String | Specify the query in SOQL format. You can enter a JavaScript expression, which is evaluated each time the Snap is executed. As in the second example below, on each document received from the input view, the % symbols will be replaced with the value pointed to by the JSON path $.Id in the input data.
Default value: Default Value: [None] | |||||||
Max Records Per Set* | Integer | Specify the number of records that you want the Snap to fetch in a single set. Default Value: 10000 | |||||||
Polling Interval* | Integer | Specify the number of seconds for which you want the Snap to wait between two queries. At each polling interval, the Snap checks the status of the Bulk API query batch processing. Minimum value: 1 Maximum value: 60 Default Value: 5 | |||||||
Polling Timeout* | Integer | Specify the number of seconds into the query batch execution before the query fails if it receives no response. If the timeout occurs while waiting for the completion of the query batch execution, the Snap throws a SnapExecutionException. Minimum value: 10 Default Value: 3000 | |||||||
Maximum Retry Attempts | Integer | Specify the maximum number of retry attempts that the Snap must make in case of a network failure. Minimum value: 1
Default Value: 5 | |||||||
Retry Interval (seconds) | Integer | Specify the minimum number of seconds for which the Snap must wait before attempting recovery from a network failure. Minimum value: 0 Default Value: 1 | |||||||
Snap Execution | String | Select one of the three modes in which the Snap executes. Available options are:
Default Value: Validate & Execute |
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Multiexcerpt include macro name Temporary Files page Join
Examples
Querying for Contacts in Salesforce Using Upstream Parameters in the Bulk Query Snap
...
Downloads
Info |
---|
Important Steps to Successfully Reuse Pipelines
|
Attachments | ||
---|---|---|
|
...