Defining columns

You define a condition column by specifying a condition statement. You define an action column by specifying an action statement.

About this task

A decision table must have at least one condition column and one action column. You can define condition and action columns using the decision table editor.

In a condition column, you enter a condition statement where you define what the comparison will be, but not the value of the comparison.

A condition statement is an incomplete rule language predicate expression whose placeholders are mapped to specific subcolumns. Placeholders are specific tokens enclosed within < and >. They can represent a concept from the data model (for example, <an object>, <a loan>, or <a string>), or empty text defined in the vocabulary phrase, such as is between <min> and <max>.

If you create a condition statement that has more than one placeholder, the required subcolumns are automatically created. If the expression does not contain any placeholders, Decision Designer completes the expression with an ... is a <boolean> statement so that it has a placeholder.

Note: Placeholders can appear anywhere in the expression. However, a warning may appear if there is any ambiguity about the expected definition.

In an action column, you specify each action to take in each of the specified situations.

Procedure

To define condition and action columns:

  1. Right-click the top cell of the column that you want to define and click Define column.
  2. Construct your statement in the editor using the available elements from the data model.
    Note: Press Ctrl+Spacebar to open the completion menu when constructing your condition or action statement.
  3. When you have constructed your condition or action statement, click Update.

Results

Your columns are now defined. If you need to redefine a column at any time, double-click the column header and change the required details.

When you have defined at least one condition column and an action column, you can begin to specify values for the placeholders in the condition and action definitions. See Specifying values for details.