Intro

The rule builder is the technical representation of a simple business rule for a specific a business case.

Users define the business logic in a decision table, which includes:

Decision table with conditions and results (output values)

Decision table with conditions and results (output values)

Usage

Use the rule builder if:

Do not use the rule builder if:

Responsiveness

The rule builder control is not responsive/adaptive. It uses sap.ui.table.Table, which is currently only available for desktop and tablet devices.

Layout

The rule builder uses the maximum screen width, irrespective of the number of columns it contains.

Schematic visualization of the rule builder

Schematic visualization of the rule builder

Types

The decision table supports two modes:

Decision table with guided input

Decision table with guided input

Decision table with text input

Decision table with text input

Components

The rule builder uses the following components:

Behavior and Interaction

Display

In display mode, the user sees the conditions and results, but no actions are available.

Decision table in display mode

Decision table in display mode

Edit

In edit mode, the user can change values by clicking the value fields.

In addition, the following actions are available:

If no rows are selected, the corresponding actions are disabled.

The standard actions Add Row and Delete Row are always offered. The other actions are optional.

Resources

Elements and Controls

Implementation