Description:

  • Retrieves the list of individual records that have been deleted within the given timespan for the specified object. SObject Get Deleted is available in API version 29.0 and later.

  • Information on deleted records are returned only if the current session user has access to them. Results are returned for no more than 15 days before the day the call is executed.

Tags:

Salesforce, deleted, subject

Properties:

In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the Expression Language Guide.

Name

Default Value

Allowable Values

Description

Salesforce Authentication Service

Controller Service API:

SalesforceAuthenticationService
The Controller Service that is used to obtain connection to Salesforce

Salesforce Object Name

Represents the object name in user;s Salesforce account Supports Expression Language: true

Start Date and Time

Starting date/time (Coordinated Universal Time (UTC)—not local— timezone) of the timespan for which to retrieve the data. The date and time should be provided in ISO 8601 format: YYYY-MM-DDThh:mm:ss+hh:mm. The date/time value for start must chronologically precede end.

End Date and Time

Ending date/time (Coordinated Universal Time (UTC)—not local— timezone) of the timespan for which to retrieve the data. The date and time should be provided in ISO 8601 format: YYYY-MM-DDThh:mm:ss+hh:mm.

Relationships:

Name

Description

Failure If this processor has not able to fetch deleted records from Salesforce account, the relationship is moved into failure.
Success If this processor has fetch deleted records from Salesforce account as per given lifespan, the relationship is moved into success relationship.

Reads Attributes:

None specified.

Writes Attributes:

None specified.

How to get deleted records list using Data Integration Platform?

In Data Integration Platform use “GetSalesforceDeletedList” Processor to get the deleted Salesforce records at given time. Here is the overview image for GetSalesforceDeletedList with success relationship.

Step 1: Drag “GetSalesforceDeletedList” processor in canvas page and pair with success relationship. If data is sent to destination or queued successfully, its moves into success relationship.

Step 2: Processors shows the default controller service as Salesforce Authentication service. You must fill the value of required properties appear in bold. Other properties (not in bold) are considered optional. Ensure start and end date format in correct format as shown in default value.

Step 3: Once job is success and it has able to fetch deleted records, the relationship is fall into success.