/
SaveProcessDynamic Method

SaveProcessDynamic Method

Overwrites the current process with the provided dynamic process object.

public void SaveDynamic(dynamic process);

Classes: Process


Parameters

dynamic process

Dynamic process object to save to the database.


Example

The following example demonstrates changing the CurrentNode of a dynamic process object, and then saving the change back to the Process.

var dynamic = Process.GetProcessDynamic();
dynamic.CurrentNode = 4;
Process.SaveProcessDynamic(dynamic);

Remarks

If you have made changes that do not conform to the managed process object, this method will throw a serialization exception. 

This method is intended for advanced manipulation of the process object which is not fully documented here. Be aware that your changes to this object fall outside the managed codebase of Square 9 and as such may cause unintended or irreversible effects to your data. 

Related content

GetProcessDynamic Method
GetProcessDynamic 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
Process Class
Process Class
More like this
GetProcessById Method
GetProcessById Method
More like this