Read Last line of the file

 Read the Last line from file dynamically

Requirement



Source File: Download

Source Code: Download


1. Take tFileRow component to count the number of rows present in the file


2. In tFileInputDelimited component, in header value write global variable created by tFileRowComponent and then subtract 1 

((Integer)globalMap.get("tFileRowCount_1_COUNT"))-1



3. Output should look like below



No comments:

Post a Comment