On In this pagearticle
Table of Contents | ||||
---|---|---|---|---|
|
Overview
Use You can use this Snap to add new Salesforce records in bulk to Salesforce.com. In by using Bulk API mode, the Snap processes the records in batches; whereas in REST API mode, the Snap creates Salesforce objects and returns results synchronously.2.0. The Snap submits the insert requests in batches.
Note | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Prerequisites
None.
Support
...
for Ultra Pipelines
Works in Ultra Pipelines.
Note |
---|
In Ultra Pipelines, set the Batch Size as to 1 for the Snap to process one document/record at a time. |
Troubleshooting
None.
Snap Input and Output
...
Limitation
Multiexcerpt macro | ||
---|---|---|
| ||
|
Snap Views
View Type | View Format | Number of Views | Compatible 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
Parameter Field Name | Data Field Type | Description | Default Value | Example | ||
---|---|---|---|---|---|---|
Label* | String | Required. The Specify the name for the Snap. Update the Snap name if there are two or more Snaps of the same type in your Pipeline. | N/A | Default Value: Salesforce Bulk Create | ||
Service version | Integer | Required. The version Version* | String/Expression/Suggestion | Specify the version number associated with the Salesforce service you want to connect to. | 41.0 | Alternatively, click the Suggestion icon to fetch the list of versions and select the desired version. |
Object typeType* | String | Required. This property enables you to define Specify the name of the Salesforce object or select one from the suggested list.
Default Value: Account | ||||
Related objectObject | String | Enter or select a related parentobject. 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 External ID | String | Enter or select an external ID of the selected related parentobject. 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 | ||
Required. Display null or empty values as null | Checkbox | Select this checkbox to display empty string or null data as When you deselect this checkbox, the Snap displays empty string or null data as blank in the output preview. Default Value: Deselected
| ||||
Polling Interval* | Integer | Define polling interval in seconds. | N/A | Default Value: 5 | ||
Polling timeoutTimeout* | Integer | Required. Define Specify the maximum time in seconds to wait for the query execution to complete. | N/A | Default Value: 3000 | ||
Maximum retry attemptsRetry Attempts | Integer | Define Specify the maximum number of retries to attempt in case of connection failure. | N/A | Default Value: 5 | ||
Retry interval Interval (seconds) | Integer | Define Specify the interval between retries in seconds. | N/A | Default Value: 3 | ||
Snap Execution | String | Specifies the execution type Select one of the three modes in which the Snap executes. Available options are:
Default Value: Execute only |
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Example
...
Displaying Empty String or Null Data as Null in the Output
This example pipeline demonstrates how you can enable the Salesforce Bulk Snaps to display empty strings and null data as null
in the output using the Display null or empty values as null checkbox.
Configure the Mapper Snap to pass null data as follows:
Configure the Salesforce Bulk Create Snap as follows:
On validating the Snap, the empty strings and null data is displayed as null in the output.
Similarly, configure the Salesforce Bulk Query, Bulk Update, and Bulk Upsert Snaps along with upstream Mapper Snaps to pass the input. Select the Display null or empty values as null checkbox in all the Bulk Snaps. On validating the Snaps, the output is displayed as null in the output preview of the Salesforce Bulk Create, Bulk Upsert, Bulk Query and Bulk Update Snaps.
Snap Configuration | Snap Output |
---|---|
Create a New Bulk Record in Salesforce Object
This example demonstrates how you can to create a new bulk record in a Salesforce object.
The JSON Generator Snap generates five new JSON documents. The Snap output from the Snap displays the documents' 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 Snap output from the Snap displays the names of the output documents' names 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
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Attachments | ||
---|---|---|
|
...