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 »

Updates an existing Process in the process database.

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.

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.

  • No labels