Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Sorry for draging this thread back from the undead, but I hope this might help others as it might have helped me.
I am using Talend Studio 6.4 and it seems there has been some changes since the answer provided by moinerus. The iteration loop index is now associated with the tFlowToIterate component. One would therefore write something like :
if ( (Integer)globalMap.get("tFlowToIterate_1_CURRENT_ITERATION") > 3 == 0) {break;};
in the tJava component following the iterate link.
As for the initial question, one can achieve a fixed number of loops with the tLoop component.