Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I've posted this in Stack Overflow here:
https://stackoverflow.com/questions/74734156/talend-thmap-get-value-of-outer-loop-element
copying the text here for convenience.
I'm just starting out with thMap. So far I have successfully mapped an X12 835 message to output structures. That works no problem.
I have also successfully acquired the LoopIndex of the current loop using the LoopIndex() function.
My challenge: I need to get the value of an element from the enclosing loop.
In the attached image, everything in green is working. I'm trying to get the value down the red line. My goal is to do this assignment
gsRecord.parent_id = enclosing loop isaRecord.id
The documentation explains some things but I don't see examples putting it together
Hello,
Sorry for getting back to you so late.
We have escalated your issue to our TDM experts and then come back to you as soon as possible.
Best regards
Sabrina