how to move all files in a folder to another folder . if user gives the path of the source folder as well as destination folder
let From folder be Y, To folder be Z
for each item in str
Use ‘Move File’ activity
Try this activity if you want to, you just have to pass the source and destination(should not exisit) folder. I created for myself as I needed for bulk activities.Please test before you implment.
MoveDirectory.Activities.1.0.0.nupkg (42.7 KB)
i tried to do it but i’m getting an error:
value of 1 dimensional string cannot be converted into string
can you attach your workflow please.
Return type of the variable used is genricvalue convert it to string array.
I did changes in your workflow.
Check now.Main (2).xaml (5.9 KB)
Its working, but i’m getting an error that 'cannot create a file that already exists"
but that folder is empty
try checking the box ‘Overwrite’ in Move file activity
still getting that error
can you attach xaml
Main (2).xaml (8.4 KB)
I moved it by using a substring
Main (2) (1).xaml (9.1 KB)
your code is not able to get folder…
could you please be elaborate which folder are you referring to