How do I capture the output of tSampleRow/tFileProperties?

Seven Stars

How do I capture the output of tSampleRow/tFileProperties?

I have this flow where I am trying to fetch the details of last modified file at the SFTP location. While I am able to do that and print the required file's name in the tLogRow component, I am not sure how to use that info to capture more details about the file/ pass that info the the the tFTPGet component. Any pointers?

 

Screenshot from 2018-08-13 17-51-58.png


Accepted Solutions
Seven Stars

Re: How do I capture the output of tSampleRow/tFileProperties?

Used the tSetGlobalVar with row11.CURRENT_FILE. Can use the global var now.

View solution in original post


All Replies
Seven Stars

Re: How do I capture the output of tSampleRow/tFileProperties?

Used the tSetGlobalVar with row11.CURRENT_FILE. Can use the global var now.

View solution in original post

2019 GARTNER 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

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog