How to move processed files to completed folder in uipath

in reframework once i complete the process … i want to move the prosssed files from processed folder to competed…i have 3 file to move and i want to in such a way that while moving to complted folder it should create year folder month folder and move

and where shold call it in end process or in prcoess xaml it self
can u plz design a sample work flow for this

Hi @T_Y_Raju

You can use the Move file activity to move the files from the Processed files to Completed folder.

Do you want to move each file in each transaction or move all processed files after all transactions.

yes i want all the files to be moved

Then you can use the Move file activity in the End Process state.

Open End Process → Above the CloseAllApplications xaml insert the For each file in folder activity to get the each file in the Processed foler, inside for each insert the Move file activity to move the each file in processed folder to Completed folder.

Check the below image for better understanding,

Hope it helps!!

I hope you find the solution for your query. Make my post Mark as solution to close the loop.
This will helpful for who are looking for the same… @T_Y_Raju

Happy Automation!!

Hie @T_Y_Raju to move file from process to completed folder you can use move file activity and if you have multiple files you can use for each and inside that for each you can pass move file activity and . For creating a date structured folder you can use create folder and inside the create folder you can pass this code.


Am using assign activity for get the path and for the file

Mark this solution if you find it was helpful for you
cheers happy automation