Table Designer
The heart of the Decision Table
In this section, you can easily create your decision tables, then link them to input and output data. Business rules are created to easily design or change the rules and deploy them quickly.

Editing and Saving Changes
When editing a rule, you can make changes directly in the rule editor. Use the control buttons in the top-right corner of the editor to manage your edits:
Undo ⟲ – reverts your last action
Redo ⟳ – restores the reverted change
Save 💾 – saves the current version of the rule

These actions help you safely adjust the rule before saving it. Each time you save, a new version of the rule is created and recorded in the History panel, where you can review or restore past versions. You will find more information about Rule History here on dedicated page.
Copying Data from Spreadsheet Applications
DecisionRules uses a dot (.) as the decimal separator for numeric values.
Some spreadsheet applications automatically interpret values such as 1.3 as dates depending on the current regional settings. As a result, the value may be converted (for example, to 1 March) before it is pasted into a Decision Table.
To avoid unexpected results, verify that decimal values are preserved before pasting them into DecisionRules.
Google Sheets
Google Sheets determines decimal separators based on the selected Region. Changing the region also affects other formatting, such as dates.

Microsoft Excel (macOS)
On macOS, you can adjust the number format to preserve decimal values.

Microsoft Excel (Windows)
Go to File → Options → Advanced.
Under Editing options, clear Use system separators.
Set:
Decimal separator:
.
Click OK.
Excel for Web
Like Google Sheets, Excel for Web uses regional settings to determine decimal separators.
Column Types and Table Structure
A Decision Table consists of three types of columns:
Condition: Defines input values. As the name suggests, these are the conditions that determine whether a table row matches the input data.
Calculation: Used to perform various calculations. These calculations are not initially bound to an input or output model, but they can be mapped to an input or output value if needed.
Result: Specifies the output values.
Every Decision Table requires at least two columns: a condition or calculation column and a result column. Condition columns must be placed on the left side of the table, while result columns are on the right. Calculation columns can be positioned anywhere within the table.
Column Operations and Settings
Add Column
To add a new column, hover over an existing column header and click the plus symbol that appears on either side of the column.

Next, select the column type (e.g., "Add Calculation").
As noted in the previous section, there are specific restrictions on where certain types of columns can be placed:
A condition column can be added between existing condition columns or at the start of the table as the first column.
A result column can be added between existing result columns or as the last column, after any result or calculation columns.
Any type of column can be added between condition and result columns.
Calculation columns can be placed anywhere in the table.
Rename Column
New columns are initially named according to their type. You can rename a column for better clarity and organization within the table. To do this, click on the existing name (e.g., "Condition") and type the new name. Then, click anywhere outside the field or press the Enter key to confirm.
Select Column Value
Next, select a value for the column. To do this, click the input field under the column name. This will expand a list of all possible values, allowing you to choose one.

There are different types of values that you can map a column to, depending on the column type:
Condition Columns: Can be mapped to an input value from the I/O Model, rule variables, or a calculation column variable (only in columns that are to the right of the specified calculation column).
Calculation Columns: Are not mapped to an existing value. Instead, a new calculation variable is created. See the detailed explanation below.
Result Columns: Can only be mapped to output values from the I/O Model.
Special Case: Calculation Column
Calculation columns are not bound to any existing value. When creating a calculation column, the result is assigned to a variable, which is defined in the calculation column header.
By default, the column is assigned a variable name like varX (where X is a natural number). You can change this name by clicking on it. To confirm the new name, click anywhere outside the field or press the Enter key.

Once defined, these variables can be used elsewhere in the table in the same way as rule variables or input and output values.

Set Column Alias
Each column has a column alias, a unique identifier within the scope of the table. You can use the alias to reference the column when using the included/excluded condition column feature or when binding column valid values in an XLSX file.
Aliases are automatically generated for each column, but you can set your own, more descriptive alias. To set a column alias, click the arrow icon in the column header and select the "Set Column Alias" option. The new alias must be unique within the table and can only contain English letters, numbers, and dashes, with a maximum length of 30 characters. To confirm the new alias, click anywhere outside the field or press the Enter key.

Delete Column
To delete a column from the Designer, click an arrow icon near the column name in the header of the condition, then click the remove button in the dropdown menu.

Row
A row represents one rule for specified data. If it's called, the Rule Solver or the Test Bench with Input Data corresponding to conditions in a row, the Rule Solver or the Test Bench response will have the same data specified in results in the corresponding row.
Add Row
To add a new row, click the
button in the bottom panel. This will create a new row at the end of the table with ANY condition operators.
Fill Cell
The basic structure for every cell is operator + value.
Operators
To change the operator in a Condition column, click the operator label, and an operator selection modal will open. Select the desired operator to apply it to the cell.
For Calculation columns, the operator is predefined as a function; therefore, the operator label is not visible in the cell.
For Result columns, there are two types of operators:
Simple Value (
Equal): Used for strings and simple math operations like addition (+), subtraction (-), multiplication (*), etc.Function: Used for advanced operations, including logical functions (e.g., AND, OR), mathematical functions (e.g.,
ABS,MAX) and others, see the whole list in Functions section. The function operator can handle everything the Simple Value operator can, but also allows the use of more complex functions.
To switch between Simple Value and Function operators, click the operator badge and choose from the dropdown:

Values
To change the cell value, click on the cell and start typing. To confirm the value, click elsewhere or press the Esc key. You can also enter multiline values by pressing Enter. When the cell is closed, only the first line is visible.

For longer values, you can use the maximize mode. To do this, hover over the cell and click
icon. This will open the maximized mode:

To confirm the new value and exit maximized mode, click the cross icon in the top-right corner, press Esc, or click elsewhere.
Special Case — Variable Values
In addition to classic values, you can also use variables such as input & output values, rule variables, and calculation column variables. To do this, start typing { in the cell, and a dropdown with all available variables will appear.

Once added, each variable is displayed with its own badge based on its type for better orientation within the table:
Input variable

Output variable

Rule variable

Calculation variable

If a variable is deleted, it will appear with a red badge in the cells, indicating that the reference is now broken.
Copy Row
To copy a row, click the
button at the beginning of the row. Then, select the "Copy" option. The row will be duplicated with the same set of rules as the original.
Clear Row
To clear all sets of conditions and result values, click the
button at the beginning of the row. Then, select the "Clear row" option. This will remove all values from the row.
Deactivate and Activate Row
To Inactive the row, toggle the
switch at the beginning of the row.
By default, all rows in the table are ACTIVE. You can use this functionality when you don’t want to use a specific row in the rule for validation, but might need it in the future.
If a row is set to INACTIVE, it behaves as if it does not exist.
Delete Row
To delete a row, click the
icon at the beginning of the row and select the "Delete Row" option.
Use Row in Test Bench
To use a row in the Test Bench click the
button. Then, the row's condition columns values are copied to the Test Bench input at the bottom of the page, and the solution is evaluated as if you had clicked the Run button.
Change the Order of Rows
To change the position of the row, click the
button. Then, select Move option. This will open a modal, where you can specify the new position of selected row.

Time Row Validation
You can specify in which time period the row will be active. To set the time validation, click the
icon and then choose the Time validation option. A modal will appear, allowing you to select a From and To time range.

By default, all rows are not time-limited and will always be evaluated. If time validation is set, the row will only be evaluated within the specified period.
Debug
Debug Mode provides detailed execution information, helping you understand exactly how your rule processes data and where issues might occur.
For detailed information about how Debug Mode works see Debug Decision Table.
Console
The Console panel displays execution logs generated when Debug Mode is enabled. When you run a rule with Debug Mode turned on, the Console automatically captures and shows a detailed breakdown of how your rule was evaluated.
What Console Shows:
Timestamp - When the execution occurred.
Row-by-row evaluation - How rows were processed.
Condition columns - Input field name, actual value, condition, and result
true/false.Result columns - Output field name and the value produced.
Retrieving Console Logs via API
For production environments or persistent logging, you can retrieve console logs programmatically using the Console Logs API. This allows you to:
Access historical logs after leaving the rule.
Integrate logging into your monitoring systems.
Analyze execution patterns over time.
For detailed API documentation, see Console Logs API.
Additional Options
Else Row
This option adds a default row with ELSE conditions at the end of the table. This row is evaluated if no other rows match the input.

Check Table for Duplicates
To check the table for duplicate rows, click the Check Duplicate button in the bottom panel. This action compares the input values in the table. If any duplicate rows are found, they will be highlighted.

Search
The Search option in the Settings menu allows you to search through the entire table and highlights the cells that match your input. To use this feature, select the Search option, and a search bar will appear:

Start typing the value you want to find. The cells that match will be highlighted in green. The search bar will display the number of rows that contain matches (not the number of matched cells). You can navigate between the matched rows using the arrow buttons.

Go to Row
In large tables, scrolling to a specific row can be challenging. The Go to Row option helps you quickly navigate to the desired row. Click this option, and a bar will appear where you can type the number of the row you want to go to, then press Enter. The table will scroll to that row, and the row settings area will be highlighted in green.

Highlight Active Columns and Rows
If you find it difficult to navigate between columns and rows, you can use the option to highlight active rows and columns. This function is available under the Settings button in the navigation toolbar at the bottom of the Decision Tables page.
Choose whether you want to highlight rows, columns, or both, and activate the option. The selected row or column will be highlighted in light green, as demonstrated in the picture below.

Last updated
Was this helpful?

