tJavaRow : how to detect last transit

Seven Stars

tJavaRow : how to detect last transit

Hello,

 

I use a tJavaRow with a tFileDelete but i don't want delete the last file iteration.

 

I try to use globalMap.get("tJavaRow_1_NB_LINE") but it's a POST variable.

 

Do you have an idea ?

 

Thanks

Employee

Re: tJavaRow : how to detect last transit

Hi,

  May I know the functional rule you are trying to achieve? I believe you are trying to delete files based on certain rules. If that is the case, you can use a Run if condition after tjavarow based on your rule to delete file.

 

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