You are not logged in.

Unanswered posts



Important! This site has been replaced. All content here is read-only. Please visit our brand-new community at https://community.talend.com/. We look forward to hearing from you there!



#1 2015-04-29 11:43:42

ch.nithinkumar1
Member
1 post

ch.nithinkumar1 said:

How to break the Talend job if wrong input excel file taken

I have excel file, in first row  of the file, it contains heading like "Department-Food" or "Department-Clothes", I need to read file only if it is "Department-Food" in tMap.
if it is not "Department-Food" than the flow should break.

tflowList >> tFileInputExcel >> tMap >> tFlowMeter >> tpostgres

My requirement is, in tMap if the file is wrong file than nothing should be recorded in tFlowMeter not even "0", the flow should bread at tMap itself.

Offline

#2 2015-04-30 05:36:17

xdshi
Talend Team


xdshi said:

Re: How to break the Talend job if wrong input excel file taken

Hi,

You can use " RunIf " trigger to control your work flow.
Set a condition according to your requirment in "If" link.
Please see my screenshot

Best regards
Sabrina

mini_1.png_20150430-0635.png


What we can do is to make sure that Talend will be your best choice!

Offline

Board footer

Talend Contributor Agreement - Talend Website Privacy Policy