Write fieldnames when using append with the FlatFile & Spreadsheet Writer does not work?

Hi!

I am trying to write some aggregated data to a file using the FlatFileWriter and then add all records as details to the same file using a second FlatFileWritter having a higher phase with the setting to append.

I have set the property “With field names“ to true on both FlatFileWritters. But the result is not as expected. Only the first FlatFileWriter added the field names, the second one does not.

I have tried using different settings to see if I could get it working but it does not seem to work. If append is set to false and the first data will be overwritten, the fieldnames from the second set of records are in the file.

Could it be that Clover will ignore the property “With field names“ is true when append is also set to true (The assumption that you would never want to add the fieldnames when appending to a file)?

Edit: I tried the same with the SpreadsheetWritter and there the fieldnames are not written when appending to the file.

I’m using CloverDX Designer 7.3.

Thanks in advance!

Michel