Upserting Salesforce data based on external IDs - 7.1

Salesforce

author
Talend Documentation Team
EnrichVersion
7.1
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Business applications > Salesforce components
Data Quality and Preparation > Third-party systems > Business applications > Salesforce components
Design and Development > Third-party systems > Business applications > Salesforce components
EnrichPlatform
Talend Studio

Here is an example of using Talend components to insert and update Salesforce Contact object data based on the mapping relationship with external IDs of the Account object.

For more technologies supported by Talend, see Talend components.

The Job used in this example is composed of the following seven subJobs:

  • the first subJob opens a connection to Salesforce,

  • the second subJob deletes some Account records based on external IDs,

  • the third subJob inserts two Account records with external IDs,

  • the fourth subJob inserts three Contact records based on the mapping relationship with the Account object external IDs, and gathers both inserted and erroneous data,

  • the fifth subJob updates two inserted Contact records based on the mapping relationship with the Account object external IDs,

  • the sixth subJob retrieves the inserted Accout records, and

  • the seventh subJob retrieves the upserted Contact records.