Hi i a m working on something where i have to use folders and they have files
now thinking of when i will deploy this on Orchestrator
what should i keep in my mind
if someone can help
all folder that has files will be inside project folder only do i need to create the folder on VM
to get the files created inside those folder i have given the path as foldername/filename.xlsx
to read the file in for each condition i have given like for each :
directory.getfiles(““C:\Users"+environment.username+”\OneDrive\Documents\UiPath\processname”)
will the above will work when i deploy it on orchestrator or i need to make some changes
also how to manage the onedrive thing in path
If it’s within project folder no need to create separate folder
If you are referring to any other files from different folder that has to be created in your end environment as well
Rest is fine
This would work as it gets compressed within nupkg file and bot workflow will be able to access it
This will work too in user machine as you have given environment as reference
@Palaniyappan thanks for the help
one thing is i have doubt for is about onedrive that is there in path what if that is not there
Directory.GetFiles(“C:\Users"+environment.username+”\OneDrive\Documents\UiPath\processname”)
what will you suggest @Palaniyappan
should onedrive to be there or not
as onedrive can cause failure when writing excel back to back as it starts sync them