Move Directory activity


#1

Hello,

I had a problem while passing from the Development Machine to the Production machine.
I had a part of the workflow
image
created in the Development Machine
and when I pass to the Production Machine I get the following error:
Could not find type ‘UiPath_Custom.MoveDirectory’ in assembly ‘customactivity01’. Row: 1054, Column: 12
Can someone help me in solving the problem?
Thank you so much,
camilla :slight_smile:


#2

Hi @CamiCat,
Refer this post


#3

Thank you so much @akila93.
I’ve already installed the package but this doesn’t solve the problem.


Camilla :slight_smile:


#4

Hi @CamiCat,

So then you go for another option.

Copy the folder and paste it into the destination location after that you can delete the old folder.


#5

Thank you so much @akila93.
Can you please help me once more in providing a sample workflow which shows the process?
thank you so much,
Camilla :slight_smile::wink:


#6

hello,

please see the following workflow:
MoveDirectory.xaml (10.6 KB)

you have to invoke MoveDirectory somewhere in your workflow, specifying only the srcFolder and the destFolder. it will recursively copy all the files and directories from the srcFolder.


#7

also, srcFolder and destFolder should look like “C:\Uipath” not "C:\Uipath\ ’


#8

Thank you so much @Tiberiu_Niculescu.
Your solution worked perfectly.
Thank you again for your precious help.
Camilla :slight_smile: