/
InsertProcess Method

InsertProcess Method

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.

Related content

CreateProcess Method
CreateProcess Method
More like this
Import Method (CaptureImporter)
Import Method (CaptureImporter)
Read with this
UpdateProcess Method
UpdateProcess Method
More like this
CreateProcessByWorkflowName Method
CreateProcessByWorkflowName Method
More like this
Process Class
Process Class
More like this
GetProcessById Method
GetProcessById Method
More like this