Methods / Methods for Manual Work Items (Tasks) |
WFEvent object that provides the status of the transaction. Possible statuses are Success, Failed, and Sent.
IWFWorkflowService svc = GetWorkflowService(); string wID = …// "0006EE0244ED431CB93F6253060DD21F"; // Work item id string newAssigneedUserID = …// @"[DOMAIN NAME]\[user name]"; // new userid try { WFEvent evt = svc.ReassignWorkItem(wID, newAssigneedUserID); } catch(Exception ex) { Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex)); }