The ability to manipulate and pass variable parameters between a Business Process and a Ruleset is based on a concept called the Context Point in Clarify.
This map between the two name/value pairs is represented by two categories that are located in a Ruleset editor’s Variables section:
- environment (env)
- global (glb)
It is the glb folder that will contain any variables when you add a Ruleset Data Object (RDO).
There are several Business Process tasks that can be used to create, set, and inspect Context Points in a Business Process, and thereby call RDO variables used in a Ruleset. The tasks are:
- GetContextPointValue: This task inspects an entry in the Ruleset’s assigned (RDO) and then populates the Result parameter with that value in the Business Process task. The value is taken from the glb (or env) folders.
- CreateContextPoint: This task creates a Context Point object in an internal Storage Manager and returns a reference to a StorageNode.
- SetContextPointValue: This task sets a value in a Context Point. This is the reverse of the GetContextPointValue. It takes a value from the Business process and sets it into the context point (the specific RDO for the Ruleset).
Comments
0 comments
Please sign in to leave a comment.