Nintex Connect

The Official Community Site for Nintex Software Products, including Nintex Workflow 2007, 2010 and 2013; Nintex Workflow for Project Server 2010; Nintex Reporting 2008 and Nintex Analytics 2010; Nintex Forms 2010; Nintex Live and Nintex SmartLibrary.
Welcome to Nintex Connect Sign in | Join | Help

Copy Item to another Document Library and Start a Workflow using the Web Service

  •  06-20-2009, 2:48 AM

    Copy Item to another Document Library and Start a Workflow using the Web Service

    I have two Document Libraries, named "ST" and "ST (Draft)", in two different sites.  Each Document Library has its own workflow, named "ST-wf" and "ST-Draft-wf" respectively.

     

    After submitting a document to the "ST (Draft)" Document Library the "ST-Draft-wf" executes.  My "ST-Draft-wf" workflow copies the document to the "ST" Document Library and then it 'should' execute the "ST-wf" Workflow via a Web Service.  It executes the "ST-wf" workflow using the Web Service.

     

    Unfortunately, it errors when it calls the web service with the following error...

     

                    Failed to process response.  Error returned from server: Server was unable to process request.  --> The object specified does not belong to a list.

     

    In researching this issue, I've come across a number of articles, namely...

     

                    http://connect.nintex.com/forums/thread/2057.aspx

                    http://stackoverflow.com/questions/133953/firing-a-sharepoint-workflow-by-updating-a-list-item-through-list-webservice-ms/368475#368475

                    http://connect.nintex.com/forums/thread/999.aspx

     

    ...By my own admission, I think the reason I'm struggling to solve this problem is due to my lack of experience using SharePoint/Nintex.  I have only used SharePoint and Nintex in an evaluation environment

    The following is the SOAP request I'm sending...

     

                    <?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/">

                        <soap:Body>

                            <StartWorkflow xmlns="http://nintex.com">

                                <fileUrl>{WorkflowVariable:NewUrl}</fileUrl>

                                <workflowName>ST-wf</workflowName>

                                <associationData></associationData>

                            </StartWorkflow>

                        </soap:Body>

                    </soap:Envelope>

     

    Can anyone help me with this problem?

     

    Thanks in advance!

     

    Lee

View Complete Thread
Powered by Community Server, by Telligent Systems