IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Developing business processes > Create business rules > Create a decision table

Work with conditions in a decision table

A condition is an evaluation of the incoming message that looks for a specific value.

By default, a basic decision table is created with two rows and three columns. The top row represents the conditions, and there is one cell for a term to reference an input for the condition, and two cells for the condition values that the input will be evaluated against. This default decision table is shown in this image:

In this layout, any incoming term that matches one of the condition values in the top row fires a corresponding action as defined in the second row.

Configure the existing conditions, and add new ones to your decision table as follows:


Procedure

  1. Specify the incoming variable for this condition by clicking Enter Term in the top row. You can either enter a value directly in the cell, or make your choice from the pop-up window that appears. If necessary, you can further configure the terms with the inline condition builder. The new condition term will appear in the cell as shown in this image:

  2. Configure the values for each of the existing conditions by clicking Enter Value, and either choosing, composing, or using both to create an appropriate expression from the pop-up window.

  3. To add a new value, click any cell in the conditions row, and click the Add a new condition value icon (). A new column will appear as shown in this image:

  4. If you want to further refine the potential values for each condition, you can add a new condition by clicking the Add a new condition icon. A new row will appear below the current one, and each column in it will have additional cells as shown in this image:

    . Configure this condition as you did the previous ones.

Create a decision table


Related concepts:
Decision table editor


Related tasks:
Configure actions in a decision table
Work with initialization action rules
Use an otherwise condition
Changing the layout of your decision table
Create decision table templates
Use templates in your decision table
Editing a decision table template