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.
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.