Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
udotheman
Contributor
Contributor

Update Salesforce Object only if specific criteria match

Hi guys,

 

I'm new in Talend and I have a question regarding updating a Salesforce (custom) object only if specific criteria match.

My basic configuration looks as follow:

0683p000009M6Rw.png

So I get every data I want from the Input and the maps looks also good. Lets say I have a custom Object Foo__c on the Salesforce site and there is a field called: MyId__c. 

Is it possible to update a Foo__c record only if MyId__c is empty?

As far as I understand this, is not possible with the expression editor within the tMap component right?

 

Best,

udotheman

Labels (2)
1 Solution

Accepted Solutions
sayzol
Contributor II
Contributor II

Not that I'm aware of. If you want to perform a check on the data before it's updated, you can bring in the Salesforce data (via tSalesforceInput) and join it to your source data to exclude records you don't want pushed to Salesforce.

View solution in original post

2 Replies
sayzol
Contributor II
Contributor II

Not that I'm aware of. If you want to perform a check on the data before it's updated, you can bring in the Salesforce data (via tSalesforceInput) and join it to your source data to exclude records you don't want pushed to Salesforce.

udotheman
Contributor
Contributor
Author

Thx for the quick answer.

I already thought that this would be the "correct" way. Thx anyway!