cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calling nintex webservice to delegate throws error

I am testing the Ninte web service to delegate a task, I created a task on the workflow tasks list manually and I have the error below.

1. I used SOAP UI for testing the service with this parameters.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:nin="http://nintex.com">

   <soapenv:Header/>

   <soapenv:Body>

      <ninSmiley Very HappyelegateTask>

         <nin:spTaskId>5452</nin:spTaskId>

         <!--Optional:-->

         <nin:taskListName>Tareas de flujo de trabajo</nin:taskListName>

         <!--Optional:-->

         <nin:targetUsername>sp_adminnintex</nin:targetUsername>

         <!--Optional:-->

         <nin:comments>Delegada manualmente</nin:comments>

         <nin:sendNotification>0</nin:sendNotification>

      </ninSmiley Very HappyelegateTask>

   </soapenv:Body>

</soapenv:Envelope>

And the response is this, which in English it says that it cant find a a workflow task for this user.

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

   <soap:Body>

      <soap:Fault>

         <faultcode>soapSmiley Frustratederver</faultcode>

         <faultstring>Server was unable to process request. ---> No es posible encontrar una tarea de flujo de trabajo de usuario para esta tarea.</faultstring>

         <detail/>

      </soap:Fault>

   </soap:Body>

</soap:Envelope>

this works fine on qa environment but in production it throws this error.

0 Kudos
Reply
1 Reply
Workflow Hero

Re: Calling nintex webservice to delegate throws error

Hi Alejandro,

try to add the domain to your targetUserName ("domain\sp_adminnintex"). Of course make sure that the task ID is valid also on your prod system.

See the Nintex SDK Web Service reference for further information on the input parameters: Nintex Workflow SDK

Let us know if this already solves your issue.

Cheers

Philipp

0 Kudos
Accept as Solution Reply