The rules builder is divided into four sections:
The command bar has the following buttons:
The rule editor is where you work with a rule, you can either type your rule directly in the rule editor, or use the function wizards and browsers on the rule builder to insert into the rule.
The rule is automatically colored and formatted by DriveWorks Solo using settings which you can modify by clicking the Settings button on the command bar. By default, if the rule is invalid, the background color changes to a light red, and if it is okay, then the background changes to a light green.
For more information on writing rules, see the introduction to writing rules.
Autocomplete provides all functions, constants, variables and table names in a pop up window that is filtered as you type in the rule editing window.
Selecting an item from the autocomplete pop up is done by clicking on the required item using the mouse or by using the up/down keyboard arrows to highlight the required item and hitting return, tab or space (pl;aces a space after the selected item) keys.
Bracket matching provides a clear indication of opening and closing parenthesis within rules.
Place the cursor in front or behind any bracket within a rule and bracket matching will highlight the chosen bracket and the bracket it is paired with.
The highlighting color can be fully customized in the settings dialog of the rule builder.
Rules insight gives clear instructions on the arguments required for any function when manually entering the rule in the rule editor window.
As each argument is entered, rules insight highlights in Bold what the next argument should be, giving examples where appropriate.
When typing Functions in the Rule Builder rules insight can be closed by hitting the Escape key on the keyboard.
Rules insight will return when an argument is required, hitting Escape again will close rules insight.
Further functions are available from the right-click menu in the rule editor window.
The functions available depend on the selection made prior to the right-click:
There are up to four tabs on the help and diagnostics section depending on the kind of rule being built:
There are up to four tabs on the browsers section depending on the kind of rule being built:
Variable categories in the rule builder remain persistent when opening and closing the Rule Builder.
When building rules it is common to reference variables from the same category.
The Rule Builder will retain the last used view for Variables when it is reopened.