Loop nested Elements for XML after tFixedFlowImport

Six Stars

Loop nested Elements for XML after tFixedFlowImport

Hi, 

my Job has following construction,

tFileLis_1-->Iterate
-->tFileInputXML_1-->row1
-->tJavaRow_1-->row2
-->tFlowToIterate_1-->Iterate
-->tFixedFlowInput_1-->row4
-->tLogRow_2-->row5
-->tAdvancedFileOutputXML_1

in tJavaRow_1 I set a globalVariabel for a Unique Filename, after the Iteration of the tFixedFlowInput_1 it writes only the last nested Element in the Outputfile. 
How can I merge the nested Elements for the right Outputfile? 

I see in the Console that all nested Elements are singel Loops and overwrite the Outputfile on the End of the Job with the last Iterate Loop Element. 

job1.PNG



Thanks for Help, greetings Chris Smiley Happy 

 

Moderator

Re: Loop nested Elements for XML after tFixedFlowImport

Hello,

Could you please try to check out "Append the source xml file" option to add the new lines at the end of your source XML file?

Best regards

Sabrina

 
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars

Re: Loop nested Elements for XML after tFixedFlowImport

How can I use the Option Smiley Happy

Best regards
Chris
Moderator

Re: Loop nested Elements for XML after tFixedFlowImport

Hello,

The "Append the source xml file" option is available in the basic settings of tAdvancedFileOutputXML component.

Best regards

Sabrina

 

 

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars

Re: Loop nested Elements for XML after tFixedFlowImport

Hi xdshi,

I don´t have these option. 

job1.PNG

 

regards Chirs

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog