Hello,
I’m using the “Append Line” activity within a “For Each Row in DT” to write a text. and this works fine because all row data are written as expected.
However, after each run, “Append Line” activity adds to the text file. For example;
first run : 5 rows are written to text
second run : the same 5 rows are written to the same text file ( now making it 10)
For each run, I want the content of the previous run overwritten, how can this be achieved?
other activities like "write Line only write the last row which is not what I wanted.
Maybe you would require to use the Write Text File activity, instead of the Append Line, as the Data present in the file is to be overwritten, each time it is executed, the new data is added removing the previous data.