Following
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
Client.
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.
To the right of the parameters list are shortcut buttons. These buttons allow for adding the same terms as the list on the left. When the shortcut button is selected, a menu is displayed with the items of that type. In addition is a button to include a JavaScript term. This should only be used with the JAVASCRIPT function and is provided to allow for the entry of JavaScript in a multi-line editable text box.
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.