My log file isn’t being created when I’m running the workflow using the robot, even if the path I supplied is already its full path. But then it’s working fine when it’s being run using the Studio.
Create the log file first before appending to it (using the Create File activity). Normally, UiPath would automatically create the file if it doesn’t exist, and then append some line. But for some reason when it’s UiPath Robot doing the activity, the file doesn’t get created, so UiPath doesn’t bother writing anything.
That’s it, let me know if it helps! 🙂