Methods / Methods for Process Instances |
Web Services
Deletes a process instance. This method removes the specified process instance and all the associated data from the database, such as work items, email, and activity instances associated with this process instance. It may take some time to complete this transaction.
public void DeleteProcInst(string processInstanceID)
Name | Description |
---|---|
processInstanceID |
|
None.
IWFWorkflowService svc = GetWorkflowService(); string processInstanceID = ..// the ID of the process instance to be canceled. try { WFEvent evt = svc.DeleteProcInst(processInstanceID); } catch( Exception ex) { base.ShowMessage( base.GetSoapMessage(ex)); }
4.0.1 and higher