Methods / Methods for Archiving and Restoring Processes |
Restores a process instance and associated data from the ArchiveDatabase to the AgilePoint Server. The process instance records are written to the AgilePoint Database deleted from the AgilePoint Archive Database.
Name | Type | Description |
---|---|---|
processInstanceID | string | A string that contains the ID of the process instance. |
// this is console application sample code IWFWorkflowService svc = GetWorkflowService(); string processInstanceID = ..// the ID of process instance to be restored. try { svc.RestoreProcInst(processInstanceID); } catch (Exception ex) { Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex) ); }