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.
Follow these steps to import a Decision Table previously exported directly from the Decision Table Editor:
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.
Follow these steps to export a Decision Table directly from Decision Table Editor:
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.
Follow these steps to import a Decision Table:
View your Decision Tables. The Decision Tables page displays.
Click Browse to locate the Decision Table file with
.json
extension.Click Import. The Import Decision Table screen displays to indicate that the Decision Table imported correctly.
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.
Follow these steps to export a Decision Table:
View your Decision Tables. The Decision Tables page displays.
Click Download to download the file in
.json
format. The file will be saved in your default downloads folder.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.