Methods / Methods for Activity Instances |
Web Services
Cancels a manual activity instance along with all manual work items associated with the specified manual activity instance ID. Note that an activity instance can be associated with one or more manual work items. Once the manual activity instance is canceled, the process instance will move forward to the next activity.
public virtual WFEvent CancelActivityInst(string activityInstanceID)
Name | Description |
---|---|
activityInstanceID |
|
WFEvent object that provides the status of the transaction. The possible statuses are:
IWFWorkflowService svc = GetWorkflowService(); string activityInstanceID = …// activity instance needs to be canceled. try { WFEvent evt = svc.CancelActivityInst(activityInstanceID); } catch(Exception ex) { Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex)); }
3.2.0.4 and higher