RestoreContext
Context points can be used to pass RDO and ENV variables between a Business Process and a Ruleset, or to backup and restore the data within the Ruleset. RestoreContext updates the variables and the RDO in the Ruleset with the data that is in the Storage Node.
Used in conjunction with the AssembleContext action.
Property | Type | Description |
---|---|---|
ContextPointStorageNode | StorageNode | The Storage Node. |
Example:
- Set a variable to 10;
- Call Assemble Context;
- Change variable to 11;
- Call RestoreContext.
Result: the variable returns to 10.