On this page
Table of Contents | ||||
---|---|---|---|---|
|
Overview
Use this Snap to Update object records in Salesforce.
Note |
---|
The ID field is required. This Snap will update records only by record ID and not by its external ID. |
Prerequisites
- None.
Support and Limitations
- 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. |
Snap Input and Output
...
- Min: 1
- Max: 1
...
- Mapper
...
- Min: 0
- Max: 1
...
- JSON Formatter + File Writer
...
This Snap has at most one output view and produces documents in the view.
Snap Settings
...
Service version
...
Required. The version number associated with the Salesforce service that you want to connect to. The expression evaluation is not supported.
...
In this article
Table of Contents | ||||
---|---|---|---|---|
|
Overview
You can use this Snap to uupdate object records in Salesforce object records using Salesforce using Bulk API 2.0.
Note | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
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. |
Limitations
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Snap Views
Type | Format | Number of Views | Examples of Upstream and Downstream Snaps | Description | ||
---|---|---|---|---|---|---|
Input | Document |
| Mapper | Each document contains Map data for an object ID, a record ID and key-value pairs for fields to be updated | ||
Output | Document |
| JSON Formatter + File Writer | Produces documents in the view. | ||
Error | Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter when running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab:
Learn more about Error handling in Pipelines.
|
Snap Settings
Field Name | Field Type | Description | ||
---|---|---|---|---|
Label* Default Value: Salesforce Bulk Update | String | Specify a unique name for the Snap. | ||
Service Version*
| String/Expression/Suggestion | Specify the version number associated with the Salesforce service 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 name of the Salesforce object or select one from the suggested list
| ||
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. | ||
Related External ID
| String | Enter or select an external ID of the 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. | ||
Display null or empty values as null Default Value: Deselected | Checkbox | Select this checkbox to display empty string or null data as When you deselect this checkbox, the Snap displays an empty string or null data as blank in the output preview. For a better understanding, refer to this Example.
| ||
Polling Interval*
| Integer | Define polling interval in seconds. | ||
Polling Timeout*
| Integer | Define the maximum time in seconds to wait for the query to complete. |
Maximum Retry Attempts
| Integer | Define the maximum number of retries to attempt in case of connection failure. |
Retry |
Interval (seconds |
)
| Integer | Define the interval between retries in seconds. |
Snap Execution
| String | Select one of the three modes in which the Snap executes. Available options are:
|
|
|
|
|
|
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Example
...
Update Records in Bulk in Salesforce
This example demonstrates how you can to update records in bulk in a Salesforce object.
The JSON Generator Snap generates five new JSON documents. The output from the Snap displays the documents' names, IDs, and customized serial numbers of the documents.
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 Update Snap Updates Salesforce records in Salesforce.com. The output from the Snap displays the names, IDs, and customized serial numbers of the updated documents. The following images display the Snap configuration and output:
Downloads
Multiexcerpt include macro | ||||
---|---|---|---|---|
|
Attachments | ||
---|---|---|
|
...