Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All Dears,
As my Subject, Talend Integration, how to kill/break the current job with customized exception information?
User needs that if no data coming in source (e.g. tFileInput...), then kill/break the current job with customized exception information.
Suggest that it's better we could have the "Option" on the similar "xxxInput" components, if "Empty/No Data" then "Generate the error", it will be very useful in some scenario.
Thank you.
Regards,
Peter.
Try putting a tFileRowCount in front of you tFileInput... then put an IF > 0 to your regular flow or an If == 0 for you execption flow
I am not sure what you are exactly looking for, perhaps this helps:
1. use a tDie and customize the error message
2. Add a tLogCatcher to create an error flow