Import and Export a Decision Table

Import a Decision Table that has been exported from ProcessMaker Platform Spring 2023 release or later.

Decision Tables can be imported and exported in two ways:

  • Import and export a Decision Table while editing it in the Decision Table Editor.

  • Import and Export a Decision Table from the Decision Tables list.

Import a Decision Table from Decision Table Editor

When in Decision Table Editor, import a Decision Table that has been exported from the same ProcessMaker Platform version. Decision Tables edited in Decision Table Editor are in .dmn format because they are Decision Management Notation files. Importing a Decision Table overwrites 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 Decision Table Editor:

  1. Click the Select file from computer link or drag-and-place the file into the Import DMN screen. Decision Tables have the .dmn file extension.

  2. Click Import. The file imports into Decision Table Editor.

Export a Decision Table from Decision Table Editor

When in Decision Table Editor, export a Decision Table that may 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. Save the Decision Table. If the Decision Table is not saved prior to attempting to export, the following message displays: You have not saved the data. Save your changes before exporting the DMN file..

  2. Click the Export button. Decision Table Editor exports the Decision Table.

Import a Decision Table from Decision Tables List

Import a Decision Table that has been exported from the same ProcessMaker Platform version. The imported Decision Table contains the same business rules as from the exported Decision Table.

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

Permissions

Permissions Required

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 Browse to locate the Decision Table to import. Decision Tables have the .dmn file extension because they are Decision Management Notation files.

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

  4. Click List Decision Tables. 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 import 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 uses the .json file extension.

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

Export a Decision Table from Decision Tables List

Export a Decision Table to your local computer. The exported Decision Table may then be imported to the same or another ProcessMaker Platform instance of the same version. An exported Decision Table may then be shared with others so they can import your Decision Table for their Processes.

The exported Decision Table contains the same values as the original at the time the original Decision Table was exported. The exported Decision Table has the .json file extension.

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 Download. The file downloads in .json format.

  3. Optionally, rename the default file name if necessary, though do not change 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.

Last updated

© Copyright 2000-2024 ProcessMaker Inc. All rights reserved.