Create Folder Activity Creates Folders In SharePoint Production But Fails In Test SharePoint Environment

Robot is having an issue creating folders inside our test Sharepoint. It has no issue on the production Sharepoint but it is not able create in development environment.

Issue:
The workflow gets a list of all files and folders from Sharepoint using Find Files And Folders activity. Then it iterates through the list and based on certain business conditions, it will create a folder in required directory. However, the Create Folder activity gives the below error.

image.png

image.png




Root Cause: One of the key reason for this issue is the limit on number of results from Find Files And Folders. There is a limit of 200 records which are returned. So if the directory if the created new folder is not returned, this issue is noticed.


Resolution:

  • Try to reduce the number of records in the Sharepoint URL to ensure the required directory is returned in the Find Files And Folders search result.