Task 4: Fixing the problem and redeploying the ruleset
You find and fix an error, and then deploy the corrected ruleset. You verify that your application works correctly.
About this task
Step 1: Correcting the bug in the ruleset
You can change the order in which rules are run. In this step, you correct the bug in the ruleset by changing the rule order so that the rate rule is run before the repayment rule.
Procedure
Step 2: Deploying the corrected ruleset to Rule Execution Server
After you correct the ruleset, you must deploy it to Rule Execution Server.
Procedure
- Open the loanvalidation_debugging deployment configuration under the loanvalidation_rules project deployment folder.
- On the Overview page, click Proceed to RuleApp deployment in the Deployment section.
-
Click Next repeatedly, until you reach the summary page. Notice that the
RuleSet New Version number changed from 1.0 to 1.1.

- Click Finish. The deployment report opens, and shows that the deployment was successful.
Step 3: Verifying the RuleApp update in the Rule Execution Server console
After you deploy the correct ruleset, you check the updated RuleApp in the Rule Execution Server console.
Procedure
Step 4: Verifying the execution with the REST execution
After you deploy the correct ruleset, you check the updated RuleApp in the Rule Execution Server console.
Procedure
Results
You have completed the tutorial. It showed you how to debug a ruleset on a remote server.

