Nintex for SharePoint Forum
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Hello All,
I am working on using the Call web service action to Terminate a workflow that is running on another list. I am receiving this error when the TerminateWorkflowByNameForListItem. Any help would be greatly appreciated.
"Error Text Error returned from server: <soap:Fault xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>soap:Client</faultcode><faultstring>Server was unable to read request. ---> There is an error in XML document (1, 446). ---> The str"
This is how my action is configured:
and this is the xml being built:
When reading through the error I see it says the error occurs in the xml on char 446, which is the {WorklfowVariable:VRMID}. I have a log prior to the action which logs the VRM ID and I can cross reference with the id of the list and they match. I am not sure why the error is occurring here because the item does exist.
Solved! Go to Solution.
Try checking the Encode Inserted tokens box.
See if that works.
Thanks,
Mike
Hi , I suggest using true instead of yes for <m:terminatePreviousInstances>true</m:terminatePreviousInstances>
I just had a quick test on my test list and it worked fine. I suggest using the "Run Now" feature to test this functionality.
See screenshot below.
Kapil Joshi Mike M
Thank you all for your help.
I wanted to inform you that I made all three of your changes and the workflow is running as intended. First, I changed the VRMID to a list item ID, then changed the Boolean value from yes to true, and finally encoded inserted tokens.
Glad it worked. Please select the correct answer so that others on the community can see the same.
No problem and glad it worked out for you. Go team!