AnsweredAssumed Answered

Calling web service inside Run Now

Question asked by jimboalba on Aug 17, 2014
Latest reply on Aug 21, 2014 by james.tyzack@nintex.com

I was able to follow the 'Using the association data in the Call Web Service action' from the article Start a Workflow using a Web Service.

I tried to use the Run Now inside the 'Call web service' action with the Request message:

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="http://nintex.com">

<soap:Header>

</soap:Header>

<soap:Body>

  <m:StartWorkflowOnListItem>

    <m:itemId>1</m:itemId>

    <m:listName>testdoc library</m:listName>

    <m:workflowName>TestWorkflow01</m:workflowName>

    <m:associationData>{WorkflowVariable:adata}</m:associationData>

  </m:StartWorkflowOnListItem>

</soap:Body>

</soap:Envelope>

 

I'm wondering what values I can replace {WorkflowVariable:adata} with.

I tried the following:

  • <Data><texta>testvalue1</texta><Number1>12345</Number1></Data>
  • <texta>testvalue1</texta><Number1>12345</Number1>
  • &lt;Data&gt;&lt;Texta&gt;testvalue1&lt;/Texta&gt;&lt;Number1&gt;12345&lt;/Number1&gt;&lt;/Data&gt;
  • &lt;Texta&gt;testvalue1&lt;/Texta&gt;&lt;Number1&gt;12345&lt;/Number1&gt;

 

What's the correct value to use? I don't know how Nintex is passing it or if this will even work inside Run Now. 

Outcomes