Creating a Rule Table
  • 23 Jul 2024
  • 2 Minutes to read
  • Dark
    Light

Creating a Rule Table

  • Dark
    Light

Article summary

Overview

A Rule Table is a new type of Rule configuration. This feature operates similarly to a Truth Table in that it uses a column and row layout. With a Rule Table, each column is defined with a piece of input data, and each row is used to configure Statement Rules for incoming data to be evaluated against. In a Truth Table, as long as input data values match the criteria for some combination of columns and rows, then an output value will be reached. In a Rule Table, the only way that an output value is reached is if the input values match the statement Rule configured in a row.

Note:
The Rule Table evaluates the output based on AND condition across the column within the same row.

Creating a Rule Table

  1. From a Designer Project, select the CREATE RULE button from the top Action Bar. 
  2. When the Element Gallery appears, open the Truth Table section and then select, name, and create a Rule Table.
  3. In the Rule Table Designer, select the SETUP INPUT DATA to configure the data that this rule is expecting to receive. 
  4. When the button is selected, a popout will appear with a LIST VIEW Data Designer.
  5. Use this area to configure data members for the Rule that are related to the project or reference an existing Design Pattern. 
  6. Select the Save button on the top Action Bar of the Data Designerpopout, then select the 'x' in the top corner.
    Editing Input Data in a Rule Table
    Editing the NAME of an existing data member will cause a new column to create with the new name and apply a validation warning to the column using the previous name. Editing the TYPE of an existing data member does not create a new column, but it does remove previous configurations for the cell from the previous type.

  7. Column headers populate automatically with the previously configured input data.
  8. The Verb portion of the Rule logic is used to configure statements that the received data is evaluated against. 
    In order for an output value to be determined, the data received must evaluate successfully against the conditions of an entire row. Data values cannot match other row conditions to reach a certain output like with Truth Tables.
  9. Once the Rule Table has been configured, select the Debug button from the top Action Bar.
  10. In the Debug window, enter some data values for the table to evaluate.
  11. Select the START DEBUGGING button to see what output result is reached after the evaluation.

For further information on Rules, visit the Decisions Forum.

Was this article helpful?