AnsweredAssumed Answered

WinWF Internal Error, terminating workflow Id# c58110ec-f606-44b9-aee9-a6680e8481eb

Question asked by motorboy on Oct 10, 2016
Latest reply on Dec 2, 2016 by emha

Hello,

I'm trying to Call Nintex WebService 'StartWorkflowOnListItem' and try to send  association data.#

 

<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>{5FE6C268-0A5A-4451-A97D-6BA3DF4B5A04}</m:listName>
      <m:workflowName>Test</m:workflowName>
      <m:associationData><Data>&lt;Variable&gt;Value&lt;/Variable&gt;</Data></m:associationData>
    </m:StartWorkflowOnListItem>
  </soap:Body>
</soap:Envelope>

 

But workflow, which should receive an association data fails and when I look at my SharePoint log, I'm getting following error:

 

10/10/2016 10:01:29.42     w3wp.exe (0xAF60)                           0x11CA0    SharePoint Foundation             Legacy Workflow Infrastructure    ahk8u    High        [Forced due to logging gap, Original Level: Verbose] Successfully persisted workflow instance: {0} with error code: {1}, instance data size: {2}, internal state: {3}, processing id: {4}    93fcab9d-7f78-100e-565c-1cbbe5412100
10/10/2016 10:01:29.43     w3wp.exe (0xAF60)                           0x11CA0    SharePoint Foundation             Legacy Workflow Infrastructure    88xr    Unexpected    WinWF Internal Error, terminating workflow Id# c58110ec-f606-44b9-aee9-a6680e8481eb    93fcab9d-7f78-100e-565c-1cbbe5412100
10/10/2016 10:01:29.43     w3wp.exe (0xAF60)                           0x11CA0    SharePoint Foundation             Legacy Workflow Infrastructure    98d4    Unexpected    System.Xml.XmlException: 'Text' is an invalid XmlNodeType. Line 1, position 11.     at System.Xml.XmlReader.ReadEndElement()     at Microsoft.SharePoint.WorkflowUtil.XmlUtil.XmlToHashtableDoDecode(String xml)     at Microsoft.SharePoint.WorkflowUtil.XmlUtil.XsnXmlToHashtable(String strXml, Boolean bIsTaskXml, SPContext context)     at Microsoft.SharePoint.WorkflowActions.ApplyActivation.Execute(ActivityExecutionContext provider)     at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)     at System.Workflow.Runtime.Scheduler.Run()    93fcab9d-7f78-100e-565c-1cbbe5412100

 

Anyone knows, what I'm doing wrong?

Outcomes