Ruleset execution procedures

When you write an execution method, you can also retrieve the number of rules executed and the output ruleset parameters, set an exception handler, and add the root object of an XML data file.

In these procedures, you learn how to write code for the following purposes:

Note:
  1. A parsed ruleset is not necessarily empty when the parsing occurs. If a ruleset already exists in the engine, a merge silently occurs to take into account the latest version of the rules, functions, tasks, and so on in the case of conflicts.

  2. If you have created your rules in a rule project, you can find the generated ruleset archive at the root of the Java™ Project for Rules (default: ruleArchive1.jar).

  3. You must enable sequential debugging before rule parsing.