Configuring Rulesets

After you create a ruleset, you must configure it.

To configure a ruleset:

  1. Open an existing ruleset or create a new one.

    See "Creating Rulesets" for more information.

  2. Click the Run Extension Language list arrow and select DROOLS or GROOVY, depending on which extension language you plan to use.

  3. Click Edit Drools Code or click Edit Groovy Code, depending on which extension language you plan to use.

    An empty DRL or GROOVY file opens.

    Note:

    Oracle recommends that you download the Drools or Groovy text editor and configure Design Studio to use the editor. The text editors can catch syntax errors that can be corrected as you write the ruleset, rather than waiting to catch the errors at compilation.

  4. Write the ruleset.

    See UIM Developer's Guide for detailed information about writing a ruleset.

  5. From the File menu select Save, then close the DRL or GROOVY file.

  6. From the File select Save again to save the ruleset.