CHECK IF A DOCUMENT PATH EXISTS

If i have a couple of folders in the file location and I want to check if a particular folder exists ; How do i go about it. FOr instance I want uipath to navigate to the path in the screenshot below and check if folder a exists;
if it does, i want to pick a file from the foler.
If it doesnt; I want to move to the next folder.
and do the same for all the other folders

Hi @Odunayo_Ogundepo

To achieve what you described use this process :


When you said you want to pick a file I interpreted it as copying it if you want to delete it just place a delete after copy file activity.

Main.xaml (6.6 KB)

Here is the process it’s up to you to customize it by the right paths.

Regards,
Reda

Thanks @reda; I will check it out