I am trying to automate the archival process of a document library in 2013. I am currently working on testing a workflow with a move command, However, I am getting an error that doesn't make sense to me. Here is what that portion of the workflow looks like:
Below is a screen shot, I am testing the copy function with all hard coding, I will test the remove folder next. My other workflow does successfully copy, but that is in the same site. Is trying to move it to another site collection a limitation. From reading the docs it seems that would work.
Here is the screen shot from the copy along with the error:
The Removing by URL worked fine in the same site and hard coded, but when I tried it from the other site collection, it did not work. Then I added the Site URL in the Properties as the Source and that worked! I've had the destination in that spot, I think that is the issue, I will test and let you know.
I have it working now, that was the key. Using the Source URL for the SharePoint site in Properties.
Once the folders are moved is there a way to delete/remove the empty Document library?