| Methods / Methods for Manual Work Items (Tasks) | |
Web Services
Cancels a manual work item based on a specified manual work item identifier. Only the following manual work item status can transition to a Canceled status: Assigned, New, Pseudo, and Overdue.
public virtual WFEvent CancelWorkItem(string workItemID)
| Name | Description |
|---|---|
workItemID |
|
WFEvent object that provides the status of the transaction. The possible statuses are:
IWFWorkflowService svc = GetWorkflowService();
string workItemID = … //
try
{
WFEvent evt = svc.CancelWorkItem(workItemID);
}
catch( Exception ex)
{
Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex));
}
3.2.0.4 and higher