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: 
Anonymous
Not applicable

error handling for tmap

I unchecked "Die on error" option in TMAP not to die on error to continue iterating other xml files. Now the data is not inserted or commit but it still sends sucess email because it returns onSubjobOk true after DBCommit. How not to send success email for that particular error-xml file?0683p000009M3Ws.png

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

I just loop filelist again if there is remaining xml file in folder.

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Hi,

 

    My suggestion will be to do a XML structure check with corresponding XSD using tXSDValidator. You can send only successful XMLs for further processing and send the error XML to different route.

 

    Please refer the link below for sample scenario.

 

https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/_oU5LKgSzUD875bjLTVifw

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

Anonymous
Not applicable
Author

I just loop filelist again if there is remaining xml file in folder.