Restore Process Instance

API Type

Web Services

Description

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.

Syntax

public virtual void RestoreProcInst(string processInstanceID)

Parameters

Name Description

processInstanceID

Definition:
Specifies the unique ID of a process instance.
Type
string
Allowed Values:
A valid process instance ID

Output

None.

Example

// 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) );
	}

Supported Versions

3.2.0.4 and higher