How to write new line in written text file within While Loop

Hi I need some help. So I have a while loop going through a variable from an excel file.
Basically at the end of the loop I want to write one log.txt file basically containing the variables that have been looped through.
I tried using the write text file activity but each loop uipath makes a new log file and deletes the one from the previous loop.
Is there a way to make it just update the one file and write a new line each time?

@Shadrina_Izzati

use Append Line activity instead of Write Text activity.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.