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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
EV89
Contributor III
Contributor III

Node (trun job) is in a recursive loop

Hello,

i see a talend alert on my trun job component. The alert message says Node (trunjob1) is in a recursive loop (see screenshoot). Whate are the implications of this alert? why this alert appear?

i think the reason is a subjob that contais a tloop node. But the tloop is not an infiinite loop so i don't understand the alert. After maximum three execution loop exit and the job continues.

Can anyone explain to me? i am afraid of possible errors.

 

N.b if run condition to exit from while loop

((Integer)globalMap.get("tDBOutput_1_NB_LINE_INSERTED")) > 0 || ((Integer)globalMap.get("tLoop_1_CURRENT_ITERATION")) == 3

 

thanks

Labels (2)
11 Replies
MarcelR
Contributor
Contributor

@Anselmo Peixoto​ Thank you for this hint. No, the warning is still there, the difference from before, we just ignore it. 😉

What goes against this theory, why is it enough if only "InitJob" is disabled. "LogPublisher" is still active on both levels.

anselmopeixoto
Partner - Creator III
Partner - Creator III

Hi @Not defined Not defined​ 

Thanks for sharing it. That's odd, but I believe the reason is that "LogPublisher" is connected to a tLogCacher whereas "InitJob" is connected to tPrejob.

My idea is that since tPrejob guarantees that what's connected to it will always run, perhaps it causes the "recursive loop" interpretation by Studio, while tLogCatcher's behavior is "conditional" and therefore Studio interprets it as a loop breaker.