cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Task delegation via Web Service - user not found

Dear Community,  

in our customers SP2013 enviromment, I experience a problem with Task Delegation via the Web Service method "DelegateTask". With parameter "sendNotification" set to 1, the web service processes the delegation but does not sent an email and returns an error:

<soap:Fault xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
 <faultcode>soapSmiley Frustratederver</faultcode>
 <faultstring>Server was unable to process request. ---&gt; Cannot get the full name or e-mail address of user "UserLoginName". ---&gt; Exception of type 'System.ArgumentException' was thrown.
Parameter name: value</faultstring>
 <detail />
</soap:Fault>

while "UserLoginName" is the actual Login Name of the user the task is delgated to.

Any idea what's wrong here? Is there any special configuration to be taken care of?

Best regards,

Tobias

Labels: (2)
0 Kudos
Reply
3 Replies
Workflow Hero

Re: Task delegation via Web Service - user not found

userLoginName itself is not suffcient, you have to provide user identifier in a form claim|domain\user or his/her mail address directly.

Accept as Solution Reply
Workflow Hero

Re: Task delegation via Web Service - user not found

Thanks for the hint! Works like a charm...

Accept as Solution Reply
Workflow Hero

Re: Task delegation via Web Service - user not found

perfect!

do not forget to mark the post that answered your question as 'correct answer' since other user can easily spot it.

0 Kudos
Accept as Solution Reply