Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Red1
Contributor
Contributor

How to use the iterate flow from a tJava component?

I just noticed last week that the tJava component has an iterate flow.  Has anyone used this before?  Is there an example of how to use it?  Please note that I am not talking about the tJavaFlex component.

 

Just for clarification I am adding this photo and I modified the subject

 

0683p000009LtLn.png

 

Notice how it is the tJava Component that has the iterate flow

Labels (3)
13 Replies
Red1
Contributor
Contributor
Author

So, there was noting in the other tJava_3 component controlling the iterator?  I guess the iterator runs based on the number of rows that were passed in the row1 flow.  Is there any way to control the iterator in the tJava_3 component?

Anonymous
Not applicable

No, whatever is in the tjava component would just run first. There would be no way to control the iteration from there.

Red1
Contributor
Contributor
Author

The overall goal of this post was to see how a tJava component controls the iterate flow. From our discussion I now understand that the iterate flow is based on the rows which were fed into the tJava component.   There is no way control the iterator from inside the tJava component using java. 

 

since_1995
Contributor III
Contributor III

Can I use this result of tjava_3 in my subjob? Can this store all the rows ?