Sharepoint "For each or Folder"

When file move to other folder, but file remains exist. visually check, file moved to other folder. But file still downloadable, need 3-5 mins , file become not downloadable. it UiPath activities issue ?

@moonhkt

welcome to the community

can you please elaborate on this ..is the file not downloadable after movement?

cheers

Are you referring normal folder movements or SharePoint folder movements?

Hi @moonhkt. If you want to confirm if it’s UiPath Issue or not I suggest to manually move a file in SharePoint via the browser interface. Then try downloading from the location within few minutes. If you experience the same behavior as with UiPath, then you will know its not an UiPath Issue.

Originally on Sharepoint site below folders
e.g.
Source : /UiPath/file/abc.xlsx
Target : /UiPath/file-completed/abc.xlsx

Checked abc.xlsx on completed folder.
After moved, run workflow again, file still appear within 1-7 mins.

Hi @moonhkt

How are you moving the file from 1 SharePoint folder to another?

If a file is taking time to be moved, you can put a delay to ensure there is enough time for it to be moved before next run is started.

If this was not your question, Could you please show us your workflow and explain in more detail?

Move file to other folder, for my case , file still downloadable after a period of time.
Checked using browser, on source folder, No file exist.

Main workflow , “For each file or Folder”,

  • download file to local machine,
  • run internal application, get result success or fail
  • call subflow for move file, argument DriveItem,

Subflow

  • if success move file to /UiPath/file-completed/success/abc.xlsx
    • “For each File or Folder”, if folder is success move to this folder
  • if fail move file to /UiPath/file-completed/fail/abc.xlsx
    • “For each File or Folder”, if folder is fail move to this folder

attachment is template for move sharepoint file
project.json (1.7 KB)
SubMoveFile.xaml (36.5 KB)
Main.xaml (18.3 KB)

Does UiPath’s “Move File/Folder” activity uses Microsoft Graph APIs. issue ?