| Methods / Methods for Manual Work Items (Tasks) | |
Web Services
Unassigns a work item that was previously assigned to a user. This method applies to work items that can be assigned to members of task groups, where a work item can be assigned to or claimed by any of a group of users.
public virtual WFEvent UndoAssignWorkItem(string workItemID)
| Name | Description |
|---|---|
workItemID |
|
WFEvent object that provides the status of the transaction. The possible statuses are:
IWFWorkflowService svc = GetWorkflowService();
string workItemID = …// for example, "03ABD59A0EB74D7A8741709478E83877";
try
{
WFEvent evt = svc.UndoAssignWorkItem(workItemID);
}
catch (Exception ex)
{
Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex));
}
3.2.0.4 and higher