Unable to find the Files/Folder in SharePoint

@Anitha_Anandhan

May I know what is the name of the folder?

If you umiquely know the name then you would get only one result…why not use the name…then you need to go for looping on 700

Cheers

hello,

700 is just for example number am giving its unique only like its contains EmpID combinates with name.

Many thanks,
Anitha Anandhan.

@Anitha_Anandhan

Then please use the query with Empid and name…then you should be getting only one result…wherever it is

Also did you try with for each activity…there is a for eqch in office 365 as well

Can you show a snapshot of how you are using

Cheers

Hi @Anil_G ,

while using the query its possible to check any duplicate folder is present the root directory or not?

Many Thanks,
Anitha Anandhan.

@Anitha_Anandhan

Can you elaborate a little?

ideally same name cannot be there for two folders in same sub folder any ways

cheers

hello,

Its hypothetical question , If incase two folders present in the same EmpID means,
how we are able to filter out it?

Many Thanks,
Anitha Anandhan.

@Anitha_Anandhan

There must be some difference between both…may be a date appended etc

no where you can create two folders with exact name though

If you can explain the requirement may be we can point you in right direction…till now only thign we know is you are getting multiple results but not sure why and also not sure how you are choosing what you need from those

cheers

Hi,
here the cases like both are having same EmpID


Thanks in Advance,
Anitha Anandhan.

@Anitha_Anandhan

But the name of it is different right…dont you know those?

Or if you get multiple results how do you find the right one?

Cheers

Hi,
yes, but the id are same so trying to figure out the duplicate folder in SharePoint.

Many Thanks,
Anitha Anandhan.

@Anitha_Anandhan

May I know if you get the result of both folders how do you manually find or how are you planning to do in studio?

cheers

Hello,

  1. Use HTTP Request Activity: To send HTTP requests to the SharePoint REST API with $top and $skip query parameters for pagination.

  2. Loop Through Pages: Create a loop in your workflow that increments the $skip value by the $top value each iteration to retrieve the next set of folders.

  3. Handle Throttling: Implement delays or retries to handle possible throttling by the SharePoint API.

  4. Accumulate Results: Collect the folder information from each page into a DataTable or List.

  5. Update UiPath Activities: Regularly check for updates to the UiPath SharePoint activities package that might add or improve pagination support.

Hi @Anil_G ,
If found Duplicate folder in SharePoint , we will skip the particular transaction.

Many Thanks,
Anitha Anandhan.

@Anitha_Anandhan

Then you only need to count of the items right…

Cheers