Skip to main content
Skip table of contents

SaveProcessDynamic Method

Overwrites the current process with the provided dynamic process object.

CODE
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.

CODE
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. 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.