Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

On this page

Table of Contents
maxLevel2
absoluteUrltrue

Overview

Use this Snap to add new Salesforce records in bulk to Salesforce.comIn 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 and Limitations

Note

In Ultra Pipelines, set the Batch Size as 1 for the Snap to process one document/record at a time.

...

Input/OutputType of ViewNumber of ViewsCompatible Upstream and Downstream SnapsDescription
Input Document
  • Min: 1
  • Max: 1
  • Mapper

This Snap has exactly one input view and receives documents in the view. Each document contains one Salesforce record.


OutputDocument
  • Min: 0
  • Max: 1
  • JSON Formatter + File Writer

This Snap has at most one output view and produces documents in the view. 

Snap Settings

Parameter NameData TypeDescriptionDefault ValueExample 
LabelStringRequired. The name for the Snap. Update the Snap name if there are two or more Snaps of the same type in your Pipeline.N/ASalesforce Bulk Create

Service version

Integer

Required. The version number associated with the Salesforce service that you want to connect to. The expression evaluation is not supported.

41.041.0
Object typeStringRequiredThis property enables you to define the name of the Salesforce object.AccountAccount
Related objectStringEnter 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. N/AAccount
Related external IDStringEnter 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.N/AAccountNumber__c
Polling intervalIntegerRequired. Define polling interval in seconds.N/A5
Polling timeoutIntegerRequired. Define the maximum time in seconds to wait for the query to complete.N/A300
Maximum retry attemptsIntegerDefine the maximum number of retries to attempt in case of connection failure.N/A5
Retry interval (seconds)IntegerDefine the interval between retries in seconds.N/A3
Snap ExecutionString

Specifies the execution type:

  • Validate & Execute: Performs limited execution of the Snap (up to 50 records) during Pipeline validation; performs full execution of the Snap (unlimited records) during Pipeline execution.
  • Execute only: Performs full execution of the Snap during Pipeline execution; does not execute the Snap during Pipeline validation.
  • Disabled: Disables the Snap and, by extension, its downstream Snaps.

Execute onlyValidate & Execute

Insert excerpt
Salesforce Batch Create
Salesforce Batch Create
nopaneltrue

Example

Creating a New Bulk Record in Salesforce Object

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: 
Image Modified

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.comThe output from the Snap displays the new document names, ID, and customized serial numbers. The following images display the Snap configuration and output: 

Image Modified

Downloads

Attachments
patterns*.slp, *.zip

...