CSV automation - Append/Overwrite

Team,
While working with CSV - During CSV writing part I observed that “IfFileExists” overwrite and append functionality works the opposite way.

    File.WriteCSV VariableToWrite:dVar  CSVFile:Path+"\FileToUpload.csv" \
                                        CsvFileEncoding:File.CSVEncoding.UTF8 \
                                        IncludeColumnNames:false \
                                         IfFileExists:File.IfFileExists.Append \
                                        ColumnsSeparator:File.CSVColumnsSeparator.SystemDefault

I had to use Append where I wanted to overwrite. Is it only me facing this ?

Regards
Sahil

2 Likes

@Sahil happens to me as well, @jpap I suppose this must be taken care of in a future release!

1 Like