Skip to main content
Skip table of contents

UpdateProcess Method

Updates an existing Process in the process database.

CODE
public void UpdateProcess(Process process);

Classes: Database


Parameters

Process Process

Process to update in the database.


Example

The following example demonstrates altering and updating a Process retrieved from the database.

CODE
var process = Database.GetProcessById(1);
process.Properties.SetSingleValue("Altered", "true");
Database.UpdateProcess(process);

Remarks

The process that is updated in the database is targeted by the Id property of the Process you pass to this method. Be aware that if you've changed the Id of the process using dynamic object manipulation, this method will not automatically update the process you returned from the database, but rather any process by the Id on the process passed.

JavaScript errors detected

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

If this problem persists, please contact our support.