Configuring the stage by using the wizard

ILOG® JRules connector includes a wizard that you can use to configure properties and link schemas in the stage to invoke the selected JRules ruleset when the job runs.

About this task

When you configure the stage to invoke a specific JRules ruleset, the number of input links must match the number of IN and IN_OUT ruleset parameters, and the number of output links must match the number of OUT and IN_OUT parameters. Reject links on the stage are excluded from this formula and are ignored by the configuration wizard. If you know the number and type of ruleset parameters in advance, you can define the correct number of links of correct types on the stage before invoking the wizard. If the information is not available, you can still launch the wizard and use it to locate the ruleset of interest and find out the number and type of parameters defined for it. However, if there are missing links, then you have to cancel the wizard and manually add the required links in order for the wizard to be able to complete the stage configuration because the wizard cannot automatically add any links to the stage.

Procedure

  1. Double-click the ILOG JRules stage.
  2. Click Configure.
  3. On the Wizard action and log file settings page, select Import ruleset parameters.
  4. (Optional) Specify the path of the log file in the Log file path field to store the debug information, then click Next.
  5. On the Engine mode and ruleset filter page, specify the engine mode and ruleset filter expression, then click Next.
  6. Configure the subsequent screen depending on engine mode selected.
    • If you selected Core engine as engine mode, the Ruleset Archive selection page is displayed. Select the Include inherited methods check box to specify whether to process methods that the ruleset parameter Java™ classes inherit from their ancestor classes. Specify the ruleset archive file for which to configure the stage.
    • If you selected either J2SE RES XU or J2EE RES XU as engine mode, the Deployed ruleset selection page is displayed. Select the Include inherited methods check box to specify whether to process methods that the ruleset parameter Java classes inherit from their ancestor classes. Specify the deployed ruleset for which to configure the stage.
  7. On the Ruleset Parameters selection page, configure the import mode and the ruleset parameters and the corresponding Java class methods for which to configure schema definitions for the links defined on the stage.
  8. On the Schema mapping for the links and ruleset parameters page, define the associations among the ruleset parameters and the links of the stage.
  9. On the Import ruleset parameters preview page, review the report and the summary of expected results and click Finish.