Enabling ruleset execution monitoring

To generate and store the trace of the ruleset execution in Decision Warehouse, you add specific properties to a ruleset.

About this task

You enable ruleset execution monitoring by setting ruleset properties in either of the following ways:
  • In Rule Designer before you deploy a ruleset.
  • In the Rule Execution Server console after you have deployed the ruleset.

For more information, see Setting ruleset monitoring options.

Procedure

  1. To monitor the execution of a ruleset, add the monitoring.enabled ruleset property and set its value to true.
  2. If the ruleset contains tasks that use the sequential or Fastpath execution modes, add the property ruleset.sequential.trace.enabled and set its value to true.
  3. Optional: Add the ruleset.bom.enabled ruleset archive property and set it to false.
    Important:

    If you do not set the ruleset.bom.enabled property to false, the effect is different depending on the type of ruleset archive:

    • For a ruleset archive without BOM, the execution fails and throws an appropriate exception. In this case, you MUST define the property.
    • For a ruleset archive that does not use any rule session BOM features, the execution is slower and uses more memory.
    The default value of the property is true: the input and output data is serialized and stored in a BOM representation of the data in XML format. If you set the property to false, two cases arise:
    • If the ruleset is based on a dynamic XOM, the input and output parameters are stored as XML code.
    • If the ruleset is based on a Java™ XOM, the toString method of the ruleset parameter type stores the content.

Results

You can also store the results of running a test suite or a simulation in Decision Center in Decision Warehouse. For more information, see Working with test suites and simulations.

If you deploy a ruleset from Decision Center to Rule Execution Server, permalink properties are added systematically to the deployed ruleset. You use these properties to open a rule in Decision Center from the Decision details in the Rule Execution Server console.