Network File Path Exists Issue

activities
studio
uipath

#1

Hi,

I am a new user of UiPath and have been playing around with UiPath for the past few weeks.

I am currently trying to use UiPath to check if a file path exists in a Network Drive, however, there is this error in the File Exist element under Output>Exist it says that it may be inaccessible due to protection level and that it’s not declared.

I am confused and do not understand what it means, and I really appreciate if anyone could clear up this confusion for me!

I have attached my .xaml file for reference.

PDFRetrieving.xaml (9.6 KB)


#2

Hello there,
It just a compiler error indicates that scope of the variable your trying to access is lower.
Try to change the scope of the variable from variable pane to main/higher sequence .
Looking at the workflow output property of File exist variable is of type string hence there is an error. It suppose to be a Boolean value.
Try now.
Here we go.
PDFRetrieving.xaml (9.7 KB)


#3

Hi ddpadil,

Thank you so much for your reply, it’s working now! :slight_smile: