In this article
...
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 Delete | ||||||
Service Version* Integer | String/Expression/Suggestion |
| ||||||
Object Type* | String | Specify the object type. This property enables you to define the name of the Salesforce object. Default Value: Account | ||||||
Polling Interval* | Integer | Define polling interval in seconds. Default Value: N/A | ||||||
Polling Timeout* | Integer | Define the maximum time in seconds to wait for the query to complete. Default Value: N/A | ||||||
Maximum Retry Attempts | Integer | Define the maximum number of retries to attempt in case of connection failure. Default Value: N/A | ||||||
Retry Interval (seconds) | Integer | Define 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 | ||||||
---|---|---|---|---|---|---|
|
...
Deleting Records In Bulk From Salesforce
This example demonstrates how you can delete bulk records from a Salesforce object.
Note |
---|
Delete function needs data, therefore, this pipeline uses Salesforce Bulk Create and Bulk Delete Snaps to perform both create and delete data. The example description includes only the delete action. For details about creating data, see Salesforce Bulk Create. |
To delete a record, you need to pass a valid object record ID from Salesforce.
In this example, the Salesforce Bulk Create Snap creates the IDs, and the Mapper2 Snap passes these IDs to the Salesforce Bulk Delete Snap.
The following images display the Mapper2 Snap configuration and output:
The Salesforce Bulk Delete Snap deletes the specified records. The following images display the Snap configuration and output:
Downloads
Attachments | ||
---|---|---|
|
...