Populating rows with values from an enumerated domain

You can add new rows and populate them with values from an enumerated domain.

About this task

You can add new rows and populate them with the values provided through a BRL Value Provider or from an enumerated domain, if you have set one up. An enumerated domain is a list of predefined elements (classes assigned to a particular group), defined in the BOM.

Procedure

To add new rows and populate them with values from an enumerated domain:

  1. In the decision table editor, right-click a cell in a condition column whose values are enumerated domain items.
  2. Click Add  > All Domain Values button All Domain Values.

    A row is created for each value of the enumerated domain.

    Decision table editor with row created for each value of the enumerated domain

Results

Note: The decision table editor can detect missing domain values, and allows you to add them automatically by using the Quick Fix function. Look for the light bulb icon Light bulb icon in the editor marker bar. See Correcting errors by using Quick Fix.

You can use a drag-and-drop function to add a number of rows at a time and have them automatically populated with values. Rule Designer automatically calculates the content of the cells for days of the week, months, intervals, and numbers. For any values next to the selected cell, it copies the value of the cells in the first row into each of the new rows.