0

Auto-generating condition values

Let’s say you need all the possible combinations of the condition values to be entered in your decision table. Doing it manually can be quite tedious and might lead to errors, especially in situations with numerous conditions. That's where auto-generating these condition values comes in handy. 

Auto-generating ensures all the potential combinations are generated and filled into the decision table without you having to intervene. You just have to enter the unique values, and the system will do the heavy lifting and generate the values for you.

To auto-generate condition values, click Auto-generate in the top right corner of the main page.

 

In the popup that appears, enter the unique condition values in the fields of the desired conditions. You can also choose to include the existing condition values for auto-generation by clicking Include.

After you’re done with entering all the unique values for the desired conditions, click Generate. The system automatically generates rows with all possible combinations of the unique values you entered. These rows with values will be added below the existing table values, if any. 

Example

Consider a retail business that manages product discounts based on customer types, purchase amounts, and membership levels. Instead of manually entering all possible combinations, you can auto-generate them.

 

Conditions

  1. Customer type -

    1. Regular

    2.  Premium

  2. Purchase amount -

    1.  > $100

    2.  < $100

  3. Membership -

    1. None

    2. Gold

Auto-generated values

The table automatically generates the rows with each combination of the unique condition values.

Customer type

Purchase amount

Membership

Regular

> $100

None

Regular

> $100

Gold

Regular

< $100

None

Regular

< $100

Gold

Premium

> $100

None

Premium

> $100

Gold

Premium

< $100

None

Premium

< $100

Gold