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.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog