Import and Export a Decision Table

Import and Export Decision Tables as JSON or DMN files.

Decision Tables can be imported and exported in two ways:

  • DMN File: Import and export a Decision Table while editing it in the Decision Table Editor. This action creates a file with .dmn extension which can be used in ProcessMaker and other software that recognize this format.

  • JSON File: Import and Export a Decision Table from the Decision Tables list. This actions creates a file with .json extension which can be used in ProcessMaker only.

Import a Decision Table (.dmn file) from Decision Table Editor

From the Decision Table Editor, you can import a Decision Table using a .dmn file that has been exported from the same version of ProcessMaker Platform. Decision Tables viewed in the Decision Table Editor are in .dmn format because they are Decision Management Notation files.

Importing a .dmn file will overwrite the existing Decision Table.

Permissions

Your user account or group membership must have the following permissions to import a Decision Table unless your user account has the Make this user a Super Admin setting selected:

  • Decision Tables: Import Decision Tables

  • Decision Tables: Edit Decision Tables

  • Decision Tables: View Decision Tables

See the Decision Tables permissions or ask your Administrator for assistance.

Follow these steps to import a Decision Table previously exported directly from the Decision Table Editor:

  1. Edit the Decision Table.

  2. Click the Import button from the editor menu.

  3. From the Import DMN screen, click the Select file from computer link or drag-and-place the file into the Import DMN screen. Use a Decision Table file with .dmn file extension.

  4. Click Import. The file imports into the Decision Table Editor.

Export a Decision Table (.dmn file) from Decision Table Editor

From the Decision Table Editor, you can export a Decision Table in the .dmn format which can be imported directly into Decision Table Editor of the same ProcessMaker Platform version. Decision Tables edited in Decision Table Editor are in .dmn format because they are Decision Management Notation files.

Permissions

Your user account or group membership must have the following permissions to export a Decision Table unless your user account has the Make this user a Super Admin setting selected:

  • Decision Tables: Export Decision Tables

  • Decision Tables: Edit Decision Tables

  • Decision Tables: View Decision Tables

See the Decision Tables permissions or ask your Administrator for assistance.

Follow these steps to export a Decision Table directly from Decision Table Editor:

  1. Edit the Decision Table.

  2. Click the Export button from the editor menu.

  3. Decision Table Editor exports the Decision Table as a .dmn file to the default downloads folder.

Import a Decision Table (.json file) from Decision Tables List

From the Decision Tables list, you can import a Decision Table using a .json file that has been exported from the same ProcessMaker Platform version.

ProcessMaker Platform ignores any Projects to which the importing Decision Table was assigned when it was exported.

Permissions

Your user account or group membership must have the following permissions to import a Decision Table unless your user account has the Make this user a Super Admin setting selected:

  • Decision Tables: Import Decision Tables

  • Decision Tables: View Decision Tables

See the Decision Tables permissions or ask your Administrator for assistance.

Follow these steps to import a Decision Table:

  1. View your Decision Tables. The Decision Tables page displays.

  2. Click the Import button from the menu to the right of the page.

  3. The Import Decision Table screen displays.

  4. Click Browse to locate the Decision Table file with .json extension.

  5. Click Import. The Import Decision Table screen displays to indicate that the Decision Table imported correctly.

  6. The Decision Tables page displays the imported Decision Table with the same name as the original Decision Table except with a number "2" suffix.

If the original Decision Table cannot be imported successfully, the following message displays: Unable to import the Decision Table. Ensure the following:

  • The .json file you tried to import is a Decision Table and not another asset type. Other ProcessMaker Platform assets also use the .json file extension.

  • The exported Decision Table was exported from the same ProcessMaker Platform version.

Export a Decision Table (.json file) from Decision Tables List

From the Decision Tables list, you can export a Decision Table in .json file format to your local computer. The exported Decision Table may then be imported to the same or another ProcessMaker Platform instance of the same version.

Permissions

Your user account or group membership must have the following permissions to export a Decision Table unless your user account has the Make this user a Super Admin setting selected:

  • Decision Tables: Export Decision Tables

  • Decision Tables: View Decision Tables

See the Decision Tables permissions or ask your Administrator for assistance.

Follow these steps to export a Decision Table:

  1. View your Decision Tables. The Decision Tables page displays.

  2. Click the menu, and then select the Export option for your Decision Table.

  3. Click Export. ProcessMaker Platform prepares your Decision Table for export. When the file is ready, the following message displays:  

  4. Click Download to download the file in .json format. The file will be saved in your default downloads folder.

  5. Optionally, rename the default file name if necessary without changing the file extension. As a best practice, specify in the file name that this is an exported Decision Table to distinguish it from other exported assets.