Getting Started with Oracle Policy Modeling - an end-to-end example

Getting Started with Oracle Policy Modeling – an end-to-end example



hello and welcome to the Oracle policy and modeling tutorial getting started with Oracle policy modeling and end-to-end example okay the first thing we want to do is create a new project so we click on new project in the command bar the new project dialog opens we now want to give this project a meaningful name so we type benefit eligibility example into the name field click create on the new project dialog we have now successfully added the new project benefit eligibility example on creating the new project we are taken to the rules view here you will find the benefit eligibility example rules document that was automatically created as part of the new project double click on the rules document to open it in readiness to add rules the benefit eligibility example rules document is opened in Microsoft Word and we are prompted to click on the rule assistant in the command bar to get started the rule assistance rule entry box is opened we can now start our rule by typing the conclusion the applicant is eligible as we type the conclusion you will notice that an additional window opens that present shortcuts for the various types of rules that we may wish to author as we continue to type the conclusion we notice that the text in the shortcuts changes accordingly once we finish entering the conclusion we need to select the rule type we are creating this is going to be a boolean rule so we double click on create boolean rule the conclusion the applicant is eligible if now appears in the rules document and the rule entry box remains open for us to type in our first condition we now type the condition the applicant is employed we double click on accept condition and add another the condition the applicant is employed and now appears in the rules document next we will enter the condition the applicant earns over $50,000 per when we finish typing this second condition we press the Enter key to end the editing of this rule and close the rule assistant to ensure that the rule we have just written does not contain any errors and to save the rule document we click validate in the command bar the Oracle policy modeling error dialog opens informing us that no errors have been found click the ok' button to dismiss this dialog now that we have completed entering and validating our rule we exit the rules document by clicking the close button on exiting the rules document we are returned to the rules view now select the data tab on the data tab we can see that three attributes have been automatically created from the validated rule we entered into the rules document ok it's time to create the interview that will collect attributes and present the final decision or determination so let's select the interview tab to see the default goal associated with the interview click goals on the command bar the goals window opens and we can see that our conclusion the applicant is eligible has been set as a default goal for the most part our interview will use automatically generated screens however it is necessary for us to modify the default screen in order to display the final decision select the name field of the default screen and the tree on the Left we will now change the title of this screen type your eligibility status and press Enter note that now the screen in the main view reflects this change and displays your eligibility status as the screen title in order to display the final decision on this screen we click add explanation in the command bar the show explanation for window opens and we select the applicant is eligible next we press the Enter key to select the explanation we can now see that the explanation has been added to the screen in the main view ok we are now ready to test our rule by running the interview this is done by clicking the bug in the command bar the Oracle policy modeling debugger opens in the Oracle web determinations view the first automatic screen for your interview now appears this screen presents a question form of an attribute by asking is the applicant employed select the yes radio button now click the next button the second automatic screen is presented with the question concerning the applicants income again we select the yes radio button again we click the next button we are now presented with the screen containing the final determination this is the your eligibility status screen that we defined before starting the debugger note that the applicants eligibility status is the applicant is eligible to view an explanation of the decision click on the decision itself the applicant is eligible because they meet both requirements for eligibility according to our rule now let's see what happens if we change one of their answers click on the applicant earns over $50,000 per year in the interview navigation bar on the left we will now change the applicant's income status to indicate that they do not earn over $50,000 per year by selecting the no radio button ok let's click the next button to return to the your eligibility status screen and see what's happened note that because the applicant now fails to meet one of the required conditions their eligibility status has changed to the applicant is not eligible again to view an explanation of the decision click on the decision itself success the interview has run and returned the expected results we can now exit the debugger so click on the close button we are now return to the interview view and with that we conclude our end to end tutorial in which we have managed to create a new project add rules to that project and lastly run an interview that returned the results we were expecting let's give ourselves a big pat on the back congratulations we invite you to learn more about Oracle policy and stay connected with our active communities please take a moment to study this slide so that you'll know where to find us whenever you need us you

7 thoughts on “Getting Started with Oracle Policy Modeling – an end-to-end example

  1. A normal conversation
    https://chrome.google.com/webstore/detail/threelly-ai-for-youtube/dfohlnjmjiipcppekkbhbabjbnikkibo

  2. This video is out of date and does not match the current OPA application interface. It requires an updated video or a link to an updated video.

  3. Hi,

    I am getting error when i Debug :

    The Debugger is not available :java 1.7 (JRE 7)
    I am using JAVA 1.8 whether i have update java or what
    Could you please update me on this.

    Thanks&Regards,
    Ramesh.Vegi

Leave a Reply

Your email address will not be published. Required fields are marked *