Activity Append Line doesn´t work

Hello,

I want to write text without overwrite on a txt file and then use the activity Append Line, but when the proccess finish the txt file is empty. It´s no a problem the premission or access on file.

Does anyone know what the problem is? Or if there’s a more appropriate activity?.
Thanks in advance.

Hi,

Can you share more specific information?
If you run the process from Orchestrator or Assistant and the path is relative path, the file which is written is under %USERPROFILE%\.nuget\packages\[ProcessName]\....

Regards,

Hi @Vanesa_Garcia_R

use append line with the full correct file path. check that the file is not open in another program. make sure the activity runs in your workflow

Happy Automation

The file is on my computer and use the Config(“path_file”).toString to access the file. The
Config have “path_file” correct.
thanks

the path is full correct and the file is close. Thanks

It is important to segregate the issue first

Could you please hard code the full file path and give a try. Also put message box in between to see the value which you are writing and appending to make sure that the value is not blank.

If the value is not blank and the file output is still blank.. kindly share a code snippet to check further

Also make sure following are in place

In the config file - file path should be full path and not relative.

Example - “C:\Users\XXXX\Downloads\SampleFileptha.txt”

2 Likes

Thank you. I used a variable was without any value

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