Move file activity to move file into subfolders

Try like this

Before the both the for each create a list of string variable “FolderList”

  • Use Assign FolderList = New List(Of String)

  • Now inside the for each folder in folder

    • If 1 FolderList.Count>0
      • True 1-> If 2 Not FolderList.Contains(CurrentFolder.Tostring)
        • True 2-> move file to that folder
          • Use Append item to collection and add item as CurrentFolder.Tostring Refer the Link 1 ,Link 2
        • False 2-> leave Empty
      • False 1-> Leave Empty

Regards
Sudharsan