I'm setting up a workflow in a Document Library that will create a folder using the name entered by the user. Then the workflow needs to copy a document from another library into the newly created folder and update the name of the document. Does anyone have any suggestions on how to do this?
Here is an example of what needs to happen:
User navigates to form and enters account name: Testing
Folder is created called Testing
Workflow then needs to pull two documents from a different document library, copy them to the current library and update the name of each document to read Testing[DocumentName1] Testing[DocumentName2].
Thanks in advance!
Solved! Go to Solution.
I think the easiest way to do this is using Call Web Service action and call the Copy.ASMX service, specifically the CopyIntoItemsLocal method. You'll need to specify the SOAP XML message for this, which looks like this:
<?xml version="1.0" encoding="utf-8"?>
Below is an example of this action fully configured: