Methods / Methods for Activity Instances |
Web Services
Rolls back a manual activity instance to the token position EN – that is, the state where the activity is entered. All work items associated with the manual activity instance with the status of NEW, OVERDUE, or ASSIGNED are canceled.
public virtual WFEvent RollbackActivityInst(string activityInstanceID)
Name | Description |
---|---|
activityInstanceID |
|
WFEvent object that provides the status of the transaction. The possible statuses are:
// This is console application sample IWFWorkflowService svc = GetWorkflowService(); string activityInstanceID = … try { //Rolling back the activity instance WFEvent evt = svc.RollbackActivityInst(activityInstanceID); } catch (Exception ex) { Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex)); }
3.2.0.4 and higher