Chapter 6. Guided rules

Guided rules are business rules that you create in a UI-based guided rules designer in Business Central that leads you through the rule-creation process. The guided rules designer provides fields and options for acceptable input based on the data objects for the rule being defined. The guided rules that you define are compiled into Drools Rule Language (DRL) rules as with all other rule assets.

All data objects related to a guided rule must be in the same project package as the guided rule. Assets in the same package are imported by default. After you create the necessary data objects and the guided rule, you can use the Data Objects tab of the guided rules designer to verify that all required data objects are listed or to import other existing data objects by adding a New item.

6.1. Viewing the Mortgage_Process business rules

Follow these steps to familiarize yourself with the predefined business rules for the Mortgage_Process project.

Related information

Business rules are defined using the Guided Rule wizard in Red Hat Process Automation Manager. For information about creating guided business rules, see Designing a decision service using guided rules.

6.1.1. Viewing the Validate Down Payment guided rule

Review the WHEN and THEN rules so that you understand how the conditions are set and used later when you run the process.

Procedure

  1. Click MenuDesignProjects, and click Mortgage_Process.
  2. Click the Validate Down Payment guided rule.
  3. Review the Validate Down Payment guided rule’s WHEN and THEN conditions and values.

    validate rules

6.1.2. Viewing the RetractValidationErr guided rule

Review the WHEN and THEN rules so that you understand how the conditions are set and used later when you run the process.

Procedure

  1. Click MenuDesignProjects, and click Mortgage_Process.
  2. Click the RetractValidationErr guided rule.
  3. Review the RetractValidationErr guided rule’s WHEN and THEN conditions and values.

    retract val rules