Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am having an issue where I am unable to write to an XML file twice in a single subjob.
Image of subjob:
Above is the subjob, the Fixed flow simply outputs a table with four rows with 2 columns, the tmap then splits this into two more flows based on the value of a column. The output xmls both write to the same xml file and are set to append. What happens is only one of the flow rows is written to the file, always the lowest in the order (out2 flow in this case), and the first flow is not written. I am unsure if it is overwriting the file or not, but both the outputs write to different sections, shown below:
Is this simply due to how the subjob is structured under the hood or is there some extra step I need to add between the tmap and outputxmls?
Hello @MDouglas1687874333
I don't know if you have managed to resolve your XML construction problem but what works is a design like below, broken down into 2 parts with an OnComponentOk and adding an append on the second tAdvancedFileOutputXML.
Best Regards
Hello @MDouglas1687874333
I don't know if you have managed to resolve your XML construction problem but what works is a design like below, broken down into 2 parts with an OnComponentOk and adding an append on the second tAdvancedFileOutputXML.
Best Regards
Thanks and yeah, this is basically what the final solution became, which seems like a lot of extra steps but I guess is simply due to how the system is structured.