Hi folks,
I'm starting a workflow from another workflow usind the Webservice Call with the StartWorkflowOnListItem Method. The Outputs of the call look right to me, but the receiving workflow doesn't get the right values.
Here's what 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>
<StartWorkflowOnListItem xmlns="http://nintex.com">
<itemId>123</itemId>
<listName>Testlist</listName>
<workflowName>TESTWORKFLOW</workflowName>
<associationData><![CDATA[
<Data>
<status1>TRUE</status1>
<status2>TRUE</status2>
<comment1>Test</comment1>
<comment2>Test</comment2>
</Data>]]>
</associationData>
</StartWorkflowOnListItem>
</soap:Body>
</soap:Envelope>
The endpoint, list, item and workflow parameters are fine - the right workflow starts on the right element in the right list.
The Target-Workflow has the following Variable configuration:
status1: yes/no, Default: no
status2: yes/no, Default: yes
comment1: single line of text, Default: empty
comment2: single line of text, Default: empty
I have put a logging action in the first step and this is what I get:
status1: FALSE
status2: FALSE
comment1: ""
comment2: ""
This is confusing - those are not even the Defaults (check status2). If I start the workflow by Webservice Call witout any parameter, it starts with the Defaults as expected.
Can someone make sense of this? I've created a new workflow for testing and it behaves the same - There appears to be an issue with what I'm sending.
Any input is highly appreciated :)
Thanks and take care!
Alex
