In this task you learn how to monitor ruleset execution using Rule Execution Server Console. You also use Decision Warehouse to audit and view stored decision traces.
As an IT professional responsible for computer applications within your company, you must ensure that all rules-enabled applications are functioning correctly. In addition to providing an environment to manage the execution of your rules, Rule Execution Server lets you monitor the execution of your rulesets.
Auditors can analyze the execution performance of your rulesets, and troubleshoot any problematic transaction that may be reported. To identify the problem when a transaction fails, auditors and analysts need to know the business policies that were applied, and the transactional data that was used at execution time. Decision Warehouse is available from Rule Execution Server and stores ruleset execution traces that can be used for auditing purposes.
This task should take you about 10 to 15 minutes to complete.
To help you identify errors with the execution environment, for example, network failures that make a database unavailable, Rule Execution Server provides diagnostic capabilities.
To run the Rule Execution Server diagnostics:
When the execution environment is functioning correctly but performance problems are being reported, the Rule Execution Server console lets you obtain statistics on the execution of your rules.
To view statistics on deployed RuleApps:
In the previous task, you added the monitoring.enabled ruleset property to keep a trace of the decision history. Every transaction you simulate for the ruleset is now stored and logged in Decision Warehouse.
To simulate a transaction in the Miniloan application:
You search for past transactions and decision traces in Decision Warehouse, to find the decision that led to the failed transaction.
To search for past transactions:
You can use Decision Warehouse to understand why the loan has been rejected. You check the execution details for a decision and view the rules that were executed.
To view the execution details for a decision:
In the next task, you publish the rule project to Decision Center so that the business rules become accessible to the business user in a shared environment.