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.
Highlighted
Six Stars

Re: Loop nested Elements for XML after tFixedFlowImport

Hi xdshi,

I don´t have these option. 

job1.PNG

 

regards Chirs

2019 GARTNER 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

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog