Find your way around the Oracle Policy Modeling user interface

Find your way around the Oracle Policy Modeling user interface

The Oracle Policy Modeling interface, as shown below, has a menu bar and a multiple pane view below it.

 

 

By default, the left hand pane displays the Project Explorer which is the main management tool for working with project documents. The Project Explorer conveys important information about the project and the files within it such as:

 

You can open any of the files in the project from the Project Explorer. Double clicking the file name will open:

 

The Attribute Usage view can also be shown in the left hand pane.

The right hand pane is used to display tabs for each of the various files, views and reports in the rulebase. The debugger is also shown in this pane.

The bottom pane displays the Output Window and Error List.

Each of these components can be closed and opened as needed.

Oracle Policy Modeling menu bar and commands

The menu bar provides operations relating to the Oracle Policy Modeling project. The various menus and their commands are explained below.

File menu

Command Description
New Project... Opens the New Project dialog which you use to create a new project
Open Project... Opens the Open Project dialog box where you can locate and open an existing Oracle Policy Modeling project
Close Project Closes the project
Import Project... Opens the Import Project dialog box where you specify the file and folder necessary to import a project
Export... Opens the Export Project dialog box where you select the destination and file name for the project interchange file which is used the export the project to an external rules repository
Add Accesses various options for adding files and folders to the project.
Save <Selected Item> Saves the selected file
Save All Saves all the files in the project
Source Control Accesses various options for managing your project using source control
Project Properties... Opens the Properties dialog box used to specify common properties, deploy properties, custom property definitions and regression tester properties
Project Statistics Opens the Project Statistics dialog box. This displays statistics for the build model and the files in the project.
Edit Verbs... Prompts you to create a custom verbs file if you do not have one, and then opens the Verbs List dialog box where you can find, add, edit and delete verbs for your project. NOTE: The Edit Verbs menu is not available for projects which use a Rapid Language Support language parser.
Most recently used projects list Lists the most recently opened projects in Oracle Policy Modeling. (The number of items displayed in this list in the File menu is specified in the Tools | Options menu. The default setting is 4.) Clicking on a project name will opens that project in Oracle Policy Modeling.
Exit Closes Oracle Policy Modeling

Edit menu

Command Description
Find Model Attribute... Opens the Find Model Attribute dialog box enabling you to search the list of attributes for a particular attribute in the build model
Find Document Attribute... Opens the Find Document Attribute dialog box enabling you to search the list of attributes for a particular attribute contained within the Oracle Policy Modeling documents
Find Screen... Opens the Find Screen dialog box enabling you to find a particular screen in your project

View menu

Command Description
Project Explorer Shows the Project Explorer view in the left hand pane. The Project Explorer is the main management tool for working with project documents. It displays all of the files in a project in a tree structure.
Attribute Usage Shows the Attribute Usage view in the left hand pane. This enables you to find rules that use a particular attribute.
Build Model Opens the Build Model view in the top right hand pane. This view shows the full list of entities and attributes from all the documents in a project.
Attribute Dependencies

Opens the Attribute Dependencies view in the top right hand pane. This is used to view the dependencies of a selected attribute. This is handy for seeing the structure of a rule and for finding the input data needed to reach a particular conclusion.

Data Model Opens the Data Model view in the top right hand pane. This shows the rulebase data model which is a definition of all data elements (base attributes) and their relationships to be maintained.
Error List Opens the Error List in the bottom pane. This is a list of any errors or warnings that are detected when you build the rulebase.
Output Window Opens the Output Window in the bottom right hand pane. This displays the progress of various processes, such as compilation, importing and exporting. It also logs inferencing events during a debug session.
Embedded Web Server Output Opens the Embedded Web Server Output Window in the center pane. This displays the progress of various processes when deploying to the embedded web server.

Reports menu

Command Description
Logical Loop Check Generates a Logical Loop Check report which is displayed in the right hand pane. This report contains a list of any self-referential rules, where an attribute is proved by itself, in the entire project.
Multiply Proven Attributes Generates a Multiply Proven Attributes report which is displayed in the right hand pane. This report shows attributes which are proven by more than one rule, and which are not marked as being rule fragments.
Top Level Attributes Generates a Top Level Attributes report which is displayed in the right hand pane. This report shows a list of attributes in the rulebase which are only proved by other attributes in the rulebase (ie they don't prove other attributes in the rulebase).
Base Level Attributes Generates a Base Level Attributes report which is displayed in the right hand pane.This report contains a list of attributes in the rulebase which are not proved by any other normal rules (forward chaining only rules).
Uncollected Attributes Opens the Uncollected Attributes Report Options dialog where you can specify if you want to include base level attributes proven by shortcut rules in the report. (This report lists all base level attributes not collected on a screen.) The Uncollected Attributes report is then displayed in the right hand pane.
Attributes Collected on Multiple Screens Generates an Attributes Collected on Multiple Screens Report which is displayed in the right hand pane. This report lists any attributes that are collected on more than one question screen.
Dependent Base Attributes Generates a Dependent Base Attributes report which is displayed in the right hand pane. This report shows a list of base level attributes which are dependent on a selected attribute.
Screens Generates a Screens report which is displayed in the right hand pane. This report lists the contents of all the question and summary screens (including document links) defined in the project. This can be used for spell-checking the screens.
Untranslated Text Generates an Untranslated Text report which is displayed in the right hand pane. This report lists all relevant rulebase elements for which a translation has not yet been supplied.
Custom Properties Opens the Custom Properties Report Options dialog box where you can specify the property types to include in the report. The Custom Properties Report then opens in the right hand pane.
Inferred Screen Attributes Generates an Inferred Screen Attributes report which is displayed in the right hand pane. This report shows a list of inferred attributes which appear on screens. Inferred attributes are attributes which are proved by other attributes in the rulebase.
View Test Script Specification

Opens the View Test Script Specification dialog box where you can select the test scripts that you want to view the details of. Test Specifications for each selected script are then displayed in the right hand pane.

Run Multiple Test Scripts... Opens the Run Multiple Test Scripts dialog box where you can select which test scripts to run. The selected test scripts will then run and the resulting Test Report will be displayed.
Test Script Coverage Analyzes the test scripts in the project and generates a Test Script Coverage report in the right hand pane. This report shows the coverage for each condition in every goal in any test case.
Analyze Coverage Report... Opens a dialog box where you can select a coverage file (that has been generated using the batch processor) to analyze in Oracle Policy Modeling.

Build menu

Command Description
Build Builds the rulebase project
Build and Debug Opens the Debug Options dialog box where you specify whether to debug with screens (ie in Oracle Web Determinations) or without (ie using the debugger). NOTE: This dialog box is only shown if the "Show 'Debug Options' before starting debugger" option is selected in Project Properties.
Stop Debugging Ends the debugger session. (This menu is only enabled when debugging mode is on ie after Build and Debug has been selected.)
Build and Run Opens the Build and Run dialog box where you have the option to run the rulebase with Oracle Web Determinations or Oracle Determinations Server.
Build Module Builds the rulebase project as a module that contains the external data model (ie all entities and relationships, and any attributes with public names). Other projects can then link to this module.
Generate Commentary Files... Opens the Generate Commentary Files dialog box. This is used to specify the settings for the automatic generation of commentary files.

Tools menu

Command Description
Clean Up Unused Attributes and Relationships... Checks to see if there are any unused attributes or relationships in the project. (Unused attributes and relationships are those that have been defined in a properties file but that aren't used in a rule or screen.) If so, the Clean Up Unused Attributes and Relationships dialog box opens which lists all of the unused attributes and relationships so that you can select which ones you want to delete.
Compile All Compiles all the documents in the project that have been modified (ie where the source document has a more recent time-stamp than the xgen file)
Repair Attribute References... Checks to see if there are any attribute references that need repairing. If so, opens the Repair Attribute References dialog box so that you can select what to do with each broken reference.
Update Oracle Policy Modeling Templates... Opens the Template Update Wizard that allows you to do a bulk update of all Oracle Policy Modeling templates
Options... Opens the Options dialog box. Here you can configure various options for the Oracle Policy Modeling environment and rulebase development.

Help menu

Command Description
Oracle Policy Modeling User's Guide Opens the Oracle Policy Modeling User's Guide in a new window
Function Reference Opens the Function Reference in the language of the rule project
About Oracle Policy Modeling Displays the product version number, copyright and patent details