I’m a little rusty on writing code and this is something that I spent way too much time messing with.
Dim destURL As String = “http://sitename/OtherLibrary/”
workflowProperties.Item.CopyTo(destURL & workflowProperties.Item.Name)
It’s not as simple as saying copy from/to. The CopyTo wants a URL, file name, and file extension.
If you receive this error:
Cannot create an item at the requested destination. Verify that the folder exists and that you have permission to edit in it.
Start by checking your syntax.