Friday, January 16, 2015

Get row count of a file

We can get row count of any file like csv or txt etc by using component
"tFileRowCount".




And we can get row count by the code-
((Integer)globalMap.get("tFileRowCount_1_COUNT"))

Please note that above code only works with iterate flow,OnComponentOk or OnSubjobOk trigger.

No comments:

Post a Comment