Rule definitions within an Agentry application project are added to the module, and defined using the Rule Editor.
is an example of the Rule Editor. It displays a simple initial value
rule that generates local ID’s for new object instances created
on the Agentry
On the left of this screen there is a list of all items that may be added as rule terms. The various tabs allow for the selection of actions, functions, globals, properties, screen sets, and sub-rules. Selecting one of these tabs will then list the items of that type. When functions are selected a drop down list is displayed to allow the developer to select the function category, which will list only those functions within that category. There is also the option to list all functions.
The main center portion of the screen displays the function currently being added or modified. Included here is the short description of the function, as well as fields for each of the function’s parameters. Selecting a parameter field will display the description of that parameter above the parameters list.
Below the list of field parameters is the Rule Test Results section, which may be expanded or collapsed (expanded in the example). This section can be used to test the results of the rule by specifying test values for various terms within the rule.
To the right of the screen is the Structure view for the rule. This displays the entire rule structure. For developers familiar with the rule editor in previous releases of Agentry, this view presents the rule and allows for the same functionality. Within this structure view, the rule terms may be added, edited, deleted, or dragged and dropped to different positions within the structure.