Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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?
I just loop filelist again if there is remaining xml file in folder.
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 🙂
I just loop filelist again if there is remaining xml file in folder.