Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tFileRowCount_1_COUNT returning 0

I have the following talend development:

 

0683p000009M8qC.png

 

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);

 

Labels (2)
1 Reply
Anonymous
Not applicable
Author

I found the mistake myself. It was a talend design problem. Here's the solution, the iterate module was missing.

0683p000009M8qH.png