cancel
Showing results for 
Search instead for 
Did you mean: 
furstlars
Nintex Newbie

Service Account Unable to Execute Call Web Service

Jump to solution

Web Service: Web URL/_vti_bin/NintexWorkflow/Workflow.asmx

Method: ProcessFlexiTaskResponse

 

I'm able to execute the call if using my own account, but using a service account returns the following. The service account can access the service but not execute it. It's a site collection admin, and I've gone as far to add it to the site owners group. Why?

 

<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>
    <ProcessFlexiTaskResponseResponse xmlns="http://nintex.com">
      <ProcessFlexiTaskResponseResult>false</ProcessFlexiTaskResponseResult>
    </ProcessFlexiTaskResponseResponse>
  </soap:Body>
</soap:Envelope>

 

 

Labels: (1)
0 Kudos
Reply
3 Replies
SimonMuntz
Nintex Employee
Nintex Employee

Re: Service Account Unable to Execute Call Web Service

Jump to solution
Hi

The method ProcessFlexiTaskResponse is obsolete.
Use ProcessFlexiTaskResponse2 instead.
0 Kudos
Reply
furstlars
Nintex Newbie

Re: Service Account Unable to Execute Call Web Service

Jump to solution

Hi Simon

 

Thanks for the reminder. Using ProcessFlexiTaskResponse2, I'm now seeing "InvalidUser" in the response result:

 

<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>
    <ProcessFlexiTaskResponse2Response xmlns="http://nintex.com">
      <ProcessFlexiTaskResponse2Result>InvalidUser</ProcessFlexiTaskResponse2Result>
    </ProcessFlexiTaskResponse2Response>
  </soap:Body>
</soap:Envelope>

There is a post explaining that the task needs to be delegated to the service account first before calling the web service. I've tried that, but it still doesn't process the task despite the workflow completing as it should.

 

1.jpg2.jpg

3.jpg

0 Kudos
Reply
furstlars
Nintex Newbie

Re: Service Account Unable to Execute Call Web Service

Jump to solution

Problem solved as follows:

 

  • Call web service - Delegate Task (to Service Account)
  • Pause - this is absolutely necessary to avoid concurrent processing between delegating and processing
  • Call web service - Process Flexi-Task

View solution in original post

0 Kudos
Reply