Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
@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.
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.