Skip to main content
Skip table of contents

InsertProcess Method

Inserts a new Process into the process database.

CODE
public int InsertProcess(Process process);

Classes: Database


Parameters

Process process

Process to insert into the database.

Returns

int

Id of inserted process.


Example

The following example demonstrates retrieving a process from the database, and inserting what will become a copy of that process.

CODE
var process = Databse.GetProcessById(1);
Database.InsertProcess(process);

Remarks

The Id property of the Process passed to this function is disregarded when inserting, and a new Id is generated for the new process. 

If a process is retrieved with existing document information, the new process will contain a copy of that document associated with the new process.

JavaScript errors detected

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

If this problem persists, please contact our support.