/
GetProcessDynamic Method

GetProcessDynamic Method

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.

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.

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.

Related content

SaveProcessDynamic Method
SaveProcessDynamic Method
More like this
GetProcessById Method
GetProcessById Method
More like this
UpdateProcess Method
UpdateProcess Method
More like this
SaveProperty Method
SaveProperty Method
More like this
CaptureProcess Class
CaptureProcess Class
More like this
AddHistory Method
AddHistory Method
More like this