Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

Gets the currently executing process from the engine in dynamic object form.

You can save changes to the process by altering this object and passing it to the SaveProcessDynamic function.

Code Block
public dynamic GetProcessDynamic();

Classes: Process


Returns

dynamic

Dynamic process object.


Example

The following example demonstrates how to get a dynamic process object off of a Process, and log its LastActionUser, a stored property on the process.

Code Block
var dynamic = Process.GetProcessDynamic();
LogHistory(dynamic.LastActionUser);

Remarks

The changes made to this process are not saved unless you pass the updated dynamic process back to the SaveProcessDynamic method.