| Methods / Methods for Process Instances | |
Web Services
Suspends a process instance. The process instance status is changed to Suspended, and the statuses of all the work items (tasks) become Pending.
public virtual WFEvent SuspendProcInst(string processInstanceID)
| Name | Description |
|---|---|
processInstanceID |
|
WFEvent object that provides the status of the transaction. The possible statuses are:
// This is console application sample
IWFWorkflowService svc = GetWorkflowService();
try
{
string processInstanceID = …// process instance to be suspended.
WFEvent event = svc.SuspendProcInst(processInstanceID);
}
catch (Exception ex)
{
Console.WriteLine("Failed: " + ShUtil.GetSoapMessage(ex));
}
3.2.0.4 and higher