Methods / Process Definition Methods |
Web Services
Deletes the process definition and all of the process instances associated with the process definition. The process definition cannot be deleted if one or more process instances associated with the process definition is running or suspended. The function may take a long time to execute if there are many process instances associated with the process definition.
public virtual void DeleteProcDef(string processTemplateID)
Name | Description |
---|---|
processTemplateID |
|
None.
IWFWorkflowService svc = GetWorkflowService(); string processTemplateID = ..// The unique identifier of the process definition to be deleted svc.DeleteProcDef(processTemplateID);
3.2.0.4 and higher