Skip to main content
Skip table of contents

GetProcessById Method

Gets a Process from the process database by process ID.

CODE
public Process GetProcessById(int id);

Classes: Database


Parameters

value id

ID of the process to retrieve

Returns

Process object.


Example

The following example demonstrates retrieving a specific process from the database by process Id.

CODE
var process = Database.GetProcessById(1);

Remarks

Processes returned from this method are held in memory only. Any changes to the Process returned will not be saved until they are saved using a Database method.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.