Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Inserts a new Process into the process database.

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.

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.

  • No labels