I have a Nintex 2013 workflow in which I needed to generate Approval Tasks for X number of users. But they're only there to collect information from anyone who responds the workflow should only progress when the Manager (a specific person) approves or denies.
Now none of the Approval Task options accounted for this, so I set up a parallel process with the Manager's approval task being generated in one and the remaining approval tasks in the other path. Once the Manager approves or denies I want to automatically complete the remaining tasks so that the workflow will complete the parallel process and continue on.
I have the Action ID and the Task IDs, all of those have been queried and are available. I read, in the ONLY documentation on ProcessTaskRequest3, that the user the task is assigned to needed to be the same user which is used as credentials for calling the Web Service. So prior to calling the webservice I delegate the tasks to the Farm Account, which is the same user I use to call the web service.
Here is the XML request I'm making :
<m:ProcessTaskResponse3>
<m:comments></m:comments>
<m:outcome>Approved</m:outcome>
<m:spTaskId>{WorkflowVariable:TaskIDToDelete}</m:spTaskId>
<m:taskListName>Workflow Tasks</m:taskListName>
</m:ProcessTaskResponse3>
But when I log the response from the Web Service I'm always getting the following:
<ProcessTaskResponse3Result xmlns="http://nintex.com">InvalidUser</ProcessTaskResponse3Result>
Any help would be appreciated. Thanks