| Methods / Methods for Process Instances | |
Web Services
Cancels the process instance based on a specified process instance identifier. This method cancels all automatic work items, manual work items, and child process instances.
public virtual WFEvent CancelProcInst(string processInstanceID)
| Name | Description |
|---|---|
processInstanceID |
|
WFEvent object that provides the status of the transaction. The possible statuses are:
IWFWorkflowService svc = GetWorkflowService();
string processInstanceID = ..// the ID of the process instance to be
canceled.
try
{
WFEvent evt = svc.CancelProcInst(processInstanceID);
}
catch( Exception ex)
{
base.ShowMessage( base.GetSoapMessage(ex));
}
3.2.0.4 and higher