Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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. 

  • No labels