There are two ways in which you can test an interview or screen flow in Oracle Web Determinations:
Use Oracle Web Determinations in the debugger
Use Oracle Web Determinations externally
Start an interview in Web Determinations
Investigate a goal in Web Determinations
Create entity instances in Web Determinations
Review the reason for a decision in Web Determinations
Review a document generated from the interview
Review the data collected in Web Determinations
Save an interview in Web Determinations
When running Oracle Web Determinations from within Oracle Policy Modeling you have the advantage of being able to use the other features available in the debugger. To start testing your rules using Oracle Web Determinations embedded in Oracle Policy Modeling:
By default, a deployed instance of Oracle Web Determinations doesn't support debugging. To enable debugging for either Java or .NET, the following change needs to be made to the configuration file:
To start testing your rules using Oracle Web Determinations deployed to an external server:
When you launch Web Determinations it opens to the summary screen which lists a set of goals that you can investigate. What you see on this screen will depend on the labels and goals that you have defined for the default summary screen in your screens file.
(If no summary screen has been defined in Oracle Policy Modeling, the summary screen in Web Determinations will be blank.)
Click on any goal link to start investigating it.
To open a saved investigation:
Question screens are used to collect information during an interview. For example:
What you see on a question screen during your interview will depend on whether the attribute that needs an answer is defined on a question screen in your screens file in Oracle Policy Modeling (see Create a question screen for more information). If it is, the labels, format and behaviour of that attribute on the question screen in Web Determinations will be as defined on the question screen in that file. If the attribute does not exist on a question screen in the screens file then the attribute will be displayed on an Automatic question screen in Web Determinations.
You must answer questions in the format specified by the Region setting for your rulebase, for example you must enter dates or currency values in the correct format.
On question screens, mandatory questions are identified by the icon *. You must provide an answer to these questions before you can continue on to the next screen in the interview.
TIP: If you are using Web Determinations in the debugger, at any point in an interview you can switch to the Data view to see which attributes are known.
At the top of the interview screen is a section which shows the screen/stage you are currently on (in bold) and gives a measure of 'how known' the goal is that you are investigating.
If question screens are grouped into sub-folders in the screens file, the subfolders will be used as the progress stages.
This feature only works when a screen order is defined. To turn off this feature, change the show-progress-stages setting to false in the appearance.properties file that is located in \Release\web-determinations\WEB-INF\classes\configuration for the project.
NOTE: This is not a navigation tool.
Another option for the display of progress through an interview is a progress bar:
To turn on this feature, change the show-progress-bar setting to true in the appearance.properties file that is located in \Release\web-determinations\WEB-INF\classes\configuration for the project.
NOTE: The calculation of progress is based entirely on attributes, not on screens, which means that the progress bar works even if you are not using a screen order or even if you have automatic screens. It will not appear while executing a screen flow.
If help text is available for a question, this can be accessed by clicking on the question text.
When you have answered the questions on a screen, click the Submit button to move to the next screen in the interview. Continue to work through the interview process until no more question screens are presented to you. The number of screens shown will depend on your answers to the questions.
When Web Determinations reaches a conclusion for the chosen goal in the assessment, no more questions will be asked and you will be returned to the Summary screen where the conclusion is displayed.
At this point you have several options:
- Investigate another goal (if there are any)
- Review the reason for a decision
- View an interview document (if there are any)
- Review the data already collected
- Clear the session and start again
- Save the assessment (or a copy of it)
- Close the assessment
To create an entity instance in Web Determinations, you click on the Add button (eg Add New Instance, Add Child) when presented with the entity collection screen. (The entity collection screen is defined in Oracle Policy Modeling, including the name of the Add New Instance button, see Define a screen for collecting entity instances for more information. If you have not yet defined one, an automatic (default) entity collect screen will be displayed in Web Determinations.)
Fill in the required fields and use the Add button to create additional entity instances. Then click Submit to move to the next screen in the interview.
NOTE: In Web Determinations, the entity completion status is set automatically.
The entity completion status is set as follows:
For example, say a rulebase has an entity for 'the child' and 'the pet', and the following relationships are used to collect instances of these entities:
The screen that collects instances of 'the child' uses 'the children' as the relationship. Since the screen (and relationship) belongs to the global entity, there is only one such occurrence of this screen, so as soon as it is displayed, the entity 'the child' is set as complete.
The screen that collects instances of 'the pet' uses 'the child's pets' as the relationship. Since this belongs to 'the child', the screen can appear once for every child that the user has entered. If the user enters three children then the screen for collecting pets must be displayed for all three children before 'the pet' will be set as a complete entity.
When the interview has reached a conclusion, you can obtain a structured list of the reasons for that conclusion. This type of audit trail is known as a decision report.
The decision report is a "map" of the rules traversed in the rulebase in order to prove the current conclusion. Attributes that are proved by other attributes are displayed hierarchically, down to the level at which the user has entered data.
To see the decision report for your assessment, click on the [Why ?] link next to the interview goal on the Summary screen.
A decision report looks like this:
You can expand and collapse nodes in the report by clicking on the + and - signs.
Clicking on a base level attribute will open the screen on which that attribute was collected, allowing you to change the value for it.
Decision reports can be modified to prevent superfluous details from being shown. For more information, see Hide information in a decision report.
Where an inferred attribute has several values over time these will be listed in the decision report:
If there are any interview documents (eg assessment notices or personalized claim forms) you can access these from the Summary screen. Click on the appropriate link to generate the document.
If the interview document is a PDF, RTF or Excel file, you will prompted to Open or Save the file. If the document is a HTML file, it will open directly in Web Determinations.
NOTES:
You can review the data already collected in an investigation by visiting the data review screen. To access this screen click on the Data Review link on the Summary screen. This screen provides a list of all the questions answered during an interview. Pre-seeded data will also be displayed.
An example of a data review screen is:
On this screen you can click on the links provided to go directly to the relevant question screen. This allows you to change the information entered on those screens, and determine whether changes to that information affects system decisions.
If a screen order has been defined in the screens file in Oracle Policy Modeling, the data review screen in Web Determinations will list screens according to that order.
If no screen order has been defined in your screens file, the screens will be listed in a random order without reference to the order in which they have appeared in the interview. It is therefore recommended that you always define a screen order in your screens file. See Define interview screen order for more information.
The formatting of attribute values in Oracle Web Determinations, including date, number and currency values, is set based on the Region specified in the Project Properties for the rulebase. See the Oracle Policy Automation Developer's Guide for details on how to override this if required.
TIP: You can change the name of this screen. See Change the title of the data review screen for more information.
At any point during an interview, you may want to save it. Saved interviews can be reloaded at a later time, allowing you to continue the assessment or modify it.
To save a new interview, click the Save link on the Summary screen. To save an existing interview click on the Save As link on the Summary screen.
The Save As screen will be shown. This allows you to enter a name for the assessment and save the case.
To save an interview that has previously been saved, on the Summary screen:
Using Web Determinations you can undertake an interview to ensure that your screens are effective and working as expected. You should make sure that you check that: