| Methods / Methods for Manual Work Items (Tasks) | |
Web Services
Reassigns a work item to another participant, and update the user name. The extended method includes client data.
public virtual WFEvent ReassignWorkItemEx(string WorkItemID, string UserName, string ClientData)
| Name | Description |
|---|---|
WorkItemID |
|
UserName |
|
ClientData |
|
WFEvent object that provides the status of the transaction. The possible statuses are:
string ClientData= "<?xml version="1.0" … …";
string WorkItemID = ...// for example, "0006EE0244ED431CB93F6253060DD21F"; // Work item ID
string UserName = …// for example @"[DOMAIN NAME]\[USER NAME]"; // new user ID
try
{
WFEvent evt = _svc.ReassignWorkItemEx(WorkItemID,
UserName, ClientData);
}
catch (Exception ex)
{
Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex));
}
3.2.0.4 and higher