In this article
...
You can use this Snap to add new Salesforce records in bulk to Salesforce.com. In Bulk API mode, the Snap processes the records in batches; whereas in REST API mode, the Snap creates Salesforce objects and returns results synchronously.
Prerequisites
None.
Support for Ultra Pipelines
Works in Ultra Pipelines.
Note |
---|
In Ultra Pipelines, set the Batch Size as 1 for the Snap to process one document/record at a time. |
...
View Type | View Format | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input | Document |
|
| This Snap has exactly one input view and receives documents in the view. Each document contains one Salesforce record. |
Output | Document |
|
| This Snap has at most one output view and produces documents in the view. |
Error | Document |
| N/A | The error view contains error, reason, resolution and stack trace. For more information, see Handling Errors with an Error Pipeline. |
Snap Settings
Field Name | Field Type | Description |
---|---|---|
Label* | String | Specify the name for the Snap. Update the Snap name if there are two or more Snaps of the same type in your Pipeline. Default Value: Salesforce Bulk Create |
Service Version* Integer | String/Expression/Suggestion | 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. |
Object Type* | String | Specify the object type. This property field enables you to define the name of the Salesforce object. Default Value: Account |
Related Object | String | Enter or select a related parent object. This property does not affect the Snap operation on records in Salesforce. It is provided for the property suggestion and the input schema suggestion only. Default Value: N/A |
Related External ID | String | Enter or select an external ID of the selected related parent object. This property does not affect the Snap operation on records in Salesforce. It is provided for the property suggestion and the input schema suggestion only. Default Value: N/A |
Polling Interval* | Integer | Define polling interval in seconds. Default Value: N/A |
Polling Timeout* | Integer | Specify the maximum time in seconds to wait for the query execution to complete. Default Value: N/A |
Maximum Retry Attempts | Integer | Specify the maximum number of retries to attempt in case of connection failure. Default Value: N/A |
Retry Interval (seconds) | Integer | Specify the interval between retries in seconds. Default Value: N/A |
Snap Execution | String | Select one of the three modes in which the Snap executes. Available options are:
Default Value: Execute only |
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
...
This example demonstrates how you can create a new bulk record in a Salesforce object.
The JSON Generator Snap generates five new JSON documents. The output from the Snap displays the names of the documents and customized serial numbers.
The following images display the Snap configuration and output:
The Mapper Snap transforms the incoming data using the given mappings and produces new output data. The output from the Snap displays the names of the output documents and customized serial numbers. The following images display the Snap configuration and output:
The Salesforce Bulk Create Snap adds new documents to Salesforce.com. The output from the Snap displays the new document names, ID, and customized serial numbers. The following images display the Snap configuration and output:
Downloads
Attachments | ||
---|---|---|
|
...