Overwrites the current process with the provided dynamic process object.

public void SaveDynamic(dynamic process);

Classes: Process


dynamic process

Dynamic process object to save to the database.


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;


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.