It seems that u are using write text file
Which will clear instead use appendline
Which will add data to ur existing data
. This will help resolve ur issue
I am assuming you are using the write text file activity to write data to a notepad file, the activity overwrites any existing data in the file. You can use the Append Line activity, this will append the text to the next line of your notepad file.
There are 2 approaches which you can follow to handle the same
First - You can use the Append Text activity this will add new text to the end of the existing content without deleting it
Second - Read the existing content from the Notepad file using the Read Text File activity store the content in a String variable.
Use assign activity and concatenate the old text with the new text