I need to get Boolean output if that folder is not present in SharePoint .I am using UiPath Team package for sharepoint activities. please help
Thanks but when I tried that but it is not working for me .
in path i m placing the link like this …
path exist gives me false always . kindly correct me
You can try this:
Make a Get File Folder in a try Catch.
If it exists assigned a boolean to true,
if it passes in the catch then assigned this same boolean to false.
You can do it by using office 365 scope & for each file in a folder & If condtion.
Hope this helps
But i need to check for folder that is in sharepoint .
Two ways…
- Use get file inside try catch it fails and gors to catch if not found else downloads
- Use get children names and then check if the required file or folder is presnet
Cheers
You can change the folder path as per the location. use the get files activities. In the output property, see if the folder is missing. You can use if action and output count =0 and one boolean variable is true, the other is false.
I hope this is helpful for you.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.