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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
krayapudi1643622390
Contributor
Contributor

How to rollback if there is error in tMap

I am loading data from excel to db like tfileinputexcel->tMap->tDBOutput, I have used Column constraints in TMap like type and null checks.

Right now tMap is checking each row and all rows satisfying constraints are getting loaded to DD and ignoring other rows, but my requirement is to dont load if any row has error.

is there a way to rollback saved rows or tMap checks for all rows before saving to DB.

I am new to Talend, any help appreciated.

Thanks in advance

Labels (2)
1 Reply
gjeremy1617088143

Hi, you can use a tDBCommit component with an on subjob ok link and tDBRollback component with an on subjob error link.

Send me love and kudos