Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Incremental Load, Error Logging, and notifications?

Hi! Sorry for the many questions but I'm just learning about a lot of things that's possible except don't know how to execute the best practices.

 

So for my project, i'm loading data from MSSQL to Salesforce. To perform incremental loading, i created a new column in sql "talendRunTime" and every time the job is run, it will update the rows where talendRunTime is null. It will only query for those rows where talendRunTime is null too.

 

This will work...but encountered a small problem.

 

I want to only update talendRunTime column for the row that has successfully loaded data into Salesforce. The ones that gets rejected will not be updated. I have yet to figure out a way to do that.

 

So structure goes like this:

 

MSSQLINPUT (where talendRunTime is null) > tmap > Salesforce --- if success > update that row with current date | if rejected > log error and email (don't update row with date, keep null)

 

Any help would be greatly appreciated...thank you!!

Labels (2)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@Zykros .you can take the Row >>Main, reject from tsalesforceoutput component and can derive the required next steps. 

View solution in original post

3 Replies
manodwhb
Champion II
Champion II

@Zykros .you can take the Row >>Main, reject from tsalesforceoutput component and can derive the required next steps. 

Anonymous
Not applicable
Author

@manodwhb hi! i'm not quite sure what you mean...the primary question i have is if i can update rows that's been successfully processed from sql to salesforce but not the rejected ones

 

Thank you!

manodwhb
Champion II
Champion II

@Zykros , yes, you can capture the success ones also using Row >>Manin from the tSalesforceoutput.