I want to count the rows to make a "Run if" but when I try to get the number of rows in the component tJava_2 the result is 0. This is the code I have in the the tJava 2:
int nrows = ((Integer)globalMap.get("tFileRowCount_1_COUNT"));
System.out.println("rows = " + nrows);