AnsweredAssumed Answered

SDK 2023 Delegate Task - Server was unable to process request. ---> Item does not exist

Question asked by ndimov on Mar 30, 2017

Hello, 

I'm trying to delegate a task using Nintex Workflows 2013 SDK from backend application running in the same server as SharePoint and Nintex (WFE Server)

 

NintexWorkflowWSSoapClient service = new NintexWorkflowWSSoapClient();
service.ClientCredentials.Windows.ClientCredential.UserName = "XXXXX";
service.ClientCredentials.Windows.ClientCredential.Password = "XXXX";
service.ClientCredentials.Windows.AllowedImpersonationLevel = System.Security.Principal.TokenImpersonationLevel.Impersonation;
service.DelegateTask(taskId, "Workflow Tasks", "domain\\username", "Delegation",

 

I can verify in the workflow tasks list that the task ID is correct and the item exists, but I'm still having this error:

Server was unable to process request. ---> Item does not exist. It may have been deleted by another user.\r\nServer stack trace: \r\n at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)\r\n at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)

 

I cannot understand what is happening.. 

 

Thanks! 

Outcomes