Data Productivity Cloud Pipeline

Author: Matillion
Date Posted: Feb 19, 2025
Last Modified: Feb 19, 2025

Salesforce Deleted Records

Add deleted records to your Salesforce data extracts.

These two Data Productivity Cloud pipelines demonstrate how to add deleted records to your Salesforce data extracts, using the Report table as an example.

Start with the Salesforce Report Extract orchestration pipeline.

Image ofExtract Salesforce deleted records
Extract Salesforce deleted records

The Data Productivity Cloud Salesforce Query component has an implicit filter IsDeleted = false. To fetch all records - including deleted - it’s necessary to run a second Salesforce Query with an explicit filter IsDeleted = true.

Once both extracts have completed, union the records into a single table for ease of use downstream. This is done in the Salesforce Report unify transformation pipeline.

Image ofUnion Salesforce deleted and non-deleted records
Union Salesforce deleted and non-deleted records

These pipelines use the Report table as an example.


Downloads

Licensed under: Matillion Free Subscription License

Installation Instructions

How to Install a Data Productivity Cloud Pipeline