In my workflow - When user creates a new list item, he/she attaches a document (lets call it doc A) to it. This document (doc A) is edited all along the workflow life cycle by different users. In the end, I wish to copy doc A to another document library.
First I extracted URL of the attachment using http://connect.nintex.com/forums/thread/7612.aspx and then I tried using "Copy an item" .. but there is no way you can give URL as source of the document.
Then I tried using Copy web service - I am using CopyIntoItemsLocal function. My SOAP looks like this:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
Where SourceURL is "set a variable" to URL I extracted using another web service (above link) and since my destination folder is always going to be same - I hardcoded it to the folder level. When I execute, it does'nt throw me any error, but does not copy the file to desired folder either. It completes with no error.
As a test, I tried hard coding URL of another document (in Documents Library) as source URL, but won't work either. Whats going wrong ?