Methods / Methods for Manual Work Items (Tasks) |
Name | Type | Description |
---|---|---|
wID | string | A 32-byte unique work item (task) ID that represents a manual work item. |
originalUserID | string | The user ID for the original user assigned the work item. |
newAssigneeUserID | string | The User ID for the user to which you want to assign the work item. |
clientData | string | A string that contains the client data. If clientData is null, the system will keep existing client data, otherwise the relevant data would be overwritten. |
WFEvent object that provides the status of the transaction. Possible statuses are Success, Failed, and Sent.
IWFWorkflowService svc = GetWorkflowService(); string workItemID = …// "0006EE0244ED431CB93F6253060DD21F"; // Work item id string originalUserID = …// @"[DOMAIN NAME]\[user name]"; // new userid string newAssigneedUserID = …// @"[DOMAIN NAME]\[user name]"; // new userid try { WFEvent evt = ReassignUpdateWorkItem(workItemID, originalUserID, newAssigneedUserID, null); } catch( Exception ex) { Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex)); }