Skip to main content

Creating and Managing Decision Tables

Decision tables live in the Tables panel in Studio. This page covers creating, importing, renaming, exporting and deleting them.

Find your decision tables​

  1. Open the Tables panel in the left toolbar.
  2. Select the Decision tab.
  3. Enter text in the search box to filter tables by name.

When the workspace has no decision tables, the tab shows Start with a new decision table and the text "Create a decision table to quickly find and retrieve the information you need." The Create using DMN button opens the import dialog. It requires permission to create decision tables. Without it, the tooltip reads "You don't have the access to create a decision table".

Create a decision table​

  1. In the Decision tab, select the + button (tooltip Add Table).
  2. Select Create Table, then choose the decision table kind.
  3. In the Create Decision Table modal, enter a name in Name.
  4. Keep the kind as Decision table.
  5. Optionally, enter a Description.
  6. Select Create.

Name rules:

  • The name is required. An empty name shows "Table name is required".
  • The name can be up to 50 characters.
  • The name must be unique. A duplicate shows "Table name already exists".

A new table starts with the Any hit policy, one String input column, one String output column and no rules. A message confirms: Decision Table X created successfully!.

Import a decision table​

  1. In the Decision tab, select + > Import Table, or select Create using DMN on the empty state.
  2. In the Import Decision Table modal, choose a file. Studio accepts .xml, .json and .dmn files.
  3. Check the Name. It is pre-filled from the file name.
  4. Confirm the import.

A message confirms: Decision Table X imported successfully!.

MessageMeaning
Only .xml, .json, and .dmn files are supported.The file has another extension.
Wrong table format imported. Please try again.The file content is not a supported table format.
The file could not be imported: …The import failed. The message gives the reason.

Open in a new tab​

Right-click a table in the list and select Open in new tab.

Rename a decision table​

You need permission to update decision tables.

From the list:

  1. Right-click the table and select Rename.
  2. Edit the name in place and press Enter.

From the editor header:

  1. Hover over the table title and select the pencil (Edit table name).
  2. Edit the name and confirm.

The name cannot be empty (header: "Table Name cannot be empty"), can be up to 50 characters, and must be unique. A rename saves right away. You do not need to select Save.

If workflows reference the table, Studio checks for references first. While it looks, it shows "Checking for references". If references exist, a rename-references modal opens before the rename completes.

A message confirms: Decision table renamed to "X" successfully.

Export a decision table​

You need permission to export decision tables. Without it, Studio shows "You don't have permission to export this decision table".

You can export from the list (right-click the table and select Export) or from the export dropdown in the top bar of an open decision table. The dropdown offers two formats.

OptionWhat you get
Export source (Studio XML)The current editor content, including unsaved edits. A message reads "Exported the editor's source as Studio XML".
Export executable DMN (saved version)DMN compiled from the saved version. Unsaved edits are not included. A message reads Exported executable DMN for saved version vN.

If the DMN export fails, Studio shows "The executable DMN could not be exported. Try again."

Delete a decision table​

You need permission to delete decision tables.

  1. Right-click the table and select Delete, or select the delete icon in the top bar of an open table.
  2. In the Delete decision table "NAME" dialog, wait for the check. It shows "Checking where this table is used…".
  3. Review the result.
  4. Select Delete.

The dialog groups references under these headings.

GroupContains
Workflows being authoredDraft workflows that use the table.
Published workflow versionsPublished workflow versions that use the table.
DeploymentsDeployments that use the table.
Decisions reusing its functionsOther decisions that reuse functions from this table.
Not checkedWorkflow sources that could not be checked.

Delete is enabled only when the check completes and finds no references. These summaries can appear:

  • "No workflow or decision references this table. Deleting it cannot be undone."
  • "This table is used by N … reference(s). Remove it/them before deleting the table."
  • "Not every workflow source could be checked, so the table cannot be deleted safely."

If the check fails, the dialog shows "Workflow references could not be checked. Try again." Select Check again to run it again. If a delete is refused, the dialog stays open and checks again.

A message confirms: Decision X deleted successfully.

Next steps​