Methods / Methods for Manual Work Items (Tasks) |
Web Services
Reassigns a manual work item to another participant.
public virtual WFEvent ReassignUpdateWorkItem(string workItemID, string originalUserID, string newAssigneedUserID, string clientData)
Name | Description |
---|---|
WorkItemID |
|
originalUserID |
|
newAssigneedUserID |
|
clientData |
|
WFEvent object that provides the status of the transaction. The possible statuses are:
IWFWorkflowService svc = GetWorkflowService(); string WorkItemID = …// "0006EE0244ED431CB93F6253060DD21F"; // Work item ID string originalUserID = …// @"[DOMAIN NAME]\[user name]"; // new user ID string newAssigneedUserID = …// @"[DOMAIN NAME]\[user name]"; // new user ID try { WFEvent evt = ReassignUpdateWorkItem(WorkItemID, originalUserID, newAssigneedUserID, null); } catch( Exception ex) { Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex)); }
4.6 and higher