ILOG JRules User Guide > Deploying Rules > Getting Started > Tutorial: RuleApp Management > Task 3: Making a Tour of the Rule Execution Server Console

This task describes how to check that the loanvalidation RuleApp has been deployed, how to download the deployed RuleApp to an archive, modify the ruleset properties of the loanvalidationrules ruleset and check that a condition in one of the rules has a certain value.

Step 1: Checking the loanvalidation RuleApp has been Deployed

To familiarize you further with the Rule Execution Server Console, your next task is to check that the loanvalidation RuleApp has been deployed.

To check that the loanvalidation RuleApp has been deployed:

  1. In the Rule Execution Server Console, click the Explorer tab.
  2. Check the RuleApps view.
  3. You will see that the RuleApps view has been updated and now shows the loanvalidation RuleApp.
    images/09-ruleapp-deployed.png

Step 2: Downloading the Deployed RuleApp to an Archive

Once the RuleApp has been deployed, you can download it to an archive.

To download a deployed RuleApp to an archive:

  1. In the RuleApps View table, click Download Archive next to the green arrow.
  2. Click Save in the File Download dialog.
  3. Locate the <TutorialsDir>/resruleappmanagement/work directory, and then click Save.
  4. Click Close in the Download Complete dialog.

Step 3: Modifying the loanvalidationrules Ruleset Properties

It is useful to know how to modify ruleset properties. In this step, you are going to modify ruleset properties for loanvalidationrules.

To modify ruleset properties for loanvalidationrules:

  1. In the RuleApps view of the Explorer tab, click oanvalidation in the RuleApps table.
  2. images/11-ruleapp-view.png
  3. In the RuleApps view, click the loanvalidationrules ruleset in the Rulesets table, to display the Ruleset view:
  4. images/12-ruleset-view.png
  5. On the menu bar of the Ruleset view, click Edit.
  6. The ruleset properties are now editable.
  7. Select the Debug check box.
  8. In the menu bar, click Save.
  9. In the menu bar, click Add Property.
  10. On the New Ruleset Property page, select a Predefined property, click the drop-down menu and select ruleset.trace.enabled.
  11. Enter true in the value field, then click Add.
  12. images/14-new-ruleset-property.png
    The Ruleset View is displayed, showing the added ruleset property.
    images/14a-view-ruleset-property.png

Step 4: Checking a Condition in a Rule

You check a condition in a rule by looking at the archive content.

To check a condition in a rule:

  1. In the Ruleset View, click Show Archive Content.
  2. The Ruleset Archive Content is displayed.
    images/15-show-ruleset-elements.png
  3. In the menu bar, deselect all View check boxes except irl.
  4. The page refreshes each time a check box is deselected.
  5. Expand the validation package, then the loan package, and then select the checkAmount.irl.
  6. images/16-expand-rule.png
  7. Check the following line in the IRL code to make sure that the maxAmount value is 1000000.
evaluate (maxAmount : 1000000);

images/arrow_next.gif Next: Task 4: Deploying a RuleApp Using the Console