I use a temporary folder in my workflow in which files are downloaded, processed and then deleted. However, when I publish the workflow, I have the problem that this folder is not created. I need to manually create the folder in the directory used by UiPath Robot that is located in a subdirectory of the .nuget folder after the workflow is published.
However, since I would like to transfer the robot to another department and the employees there should not work with UiPath Studio but only with UiPath Robot, I wanted to ask if it would be possible to have this folder created automatically when the workflow is published.
I am sure this is due to the permission to create the folder, the question is which OS user is used to run this bot & may be that user doesn’t have rights to create folder ?
If you have implemented a create directory activity in your workflow using Environment.CurrentDirectory+“\FolderName” your folder should be created at runtime no matter where you place the robot
@tobias90 I think create directory is having path like this “current project name\folder name” so change this path to full path like “d:current project name\folder name”
I have found a workaround where i first check, if the folder is already available. But i still cant understand why UiPath Studio is only creating the two folders and not the temp folder.