@Palaniyappan , the notepad path is in the machine it is not in shared drive. I have given path in the same machine documents/uipath/process/log files folder
Yes, What happened is like data is been updated continuously to the notepad. After sometime the notepad started to crash. Due to that I was getting the issue.
Solution is for every 1st run, I have created a text file. So that the issue has been resolved.
For 10 transactions, bot will run and will create 1 .txt file and the next run it creates a new one.