Simple Lookup Rule

A lookup decision table with simple conditions that check equality of an input parameter and a condition value and a simple return can be easy represented as simple lookup table. This table is similar to simple rules table but has horizontal conditions. The number of parameters to be associated with horizontal conditions is determined by the height of the first column title cell.

Create rule

  • Click Rule Designer and move to New button, select Standard Rule

  • As an example, let's create a rule to get the price of the vehicle based on the country, region, carBrand, carModel conditions.

    • Select Simple Lookup Table and input basic info

    • Add input parameters, click Next button

    • Select Sub condition for your table

      [!NOTE] Sub conditions is the horizontal conditions. The number of parameters to be associated with horizontal conditions is determined by the height of the first column title cell.

    • Add SubConditions

    • Rule is created, now you can input conditions and click Save button to save your rule

    • Input Rule Name

Test rule

  • Click Test button and select rule

  • Change you test data and test the rule

  • If no problem, close the test page

Publish rule

  • Click Publish button to publish current rule

  • Check the rule at Rule Library

[!NOTE] If rule name existed, new version of that rule will published

Test rule from postman

results matching ""

    No results matching ""