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.
- 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.
Rule is created, now you can input conditions and click Save button to save your rule
Input Rule Name
- Click Test button and select rule
- Change you test data and test the rule
- If no problem, close the test page
- 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