0 Replies Latest reply on Feb 5, 2019 11:29 AM by YJ7

    File adapter in append mode - adds header multiple times.

    YJ7

      Hi,

       

      We have an outbound file adapter, which writes the content to CSV file and its configured to work in append mode. In the schema file, we have set the "nxsd:outboundHeader", so that first record has the column names. When the records are added to same file via different flow instance, we noticed that the header is being repeated,

       

      1. Is this an expected behavior or bug ?

      2. Options to get the header line only once

       

      Sample output file

      Item, Desciption, Qty, Price

      Item1, GigaWidget, 60, $75

      Item2, MegaBucket, 48, $125

      Item, Desciption, Qty, Price

      Item1, GigaWidget, 60, $75

      Item2, MegaBucket, 48, $125

       

       

      Expected output file

      Item, Desciption, Qty, Price

      Item1, GigaWidget, 60, $75

      Item2, MegaBucket, 48, $125

      Item1, GigaWidget, 60, $75

      Item2, MegaBucket, 48, $125