Testing the validity of a file path

Four Stars

Testing the validity of a file path

HELLO,

I realized a job that allows to recover connectivity parameters from who comes from the external via the FTP service, until the moment its march, what I want to add is the validity of this path is to say , does the file exist or not, if it does not exist we will stop the job.

here is the shema of my job, do you have any ideas on how to do it?

 

1_.jpg

 

Thank's

Community Manager

Re: Testing the validity of a file path

You need to use a RunIf link after the tFileExist component. In the condition just use the relevant global Map. Look in the bottom left of the Studio to see a list of component names. Expand the one that relates to your tFileExist and drag the relevant variable to your condition expression. Then build your boolean expression and you're done.

Cloud Free Trial

Try Talend Cloud free for 30 days.

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.