Book a Demo

Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

Importing DMN XML

Enterprise Architect supports the import of a DMN 1.1 or 1.2 XML file into a project, with both model semantics and diagram-interchange information.


In the Browser window, select the Package into which to import the XML file. Then use one of the methods outlined here to open the 'Import Package from DMN 1.1 XML' dialog.


Publish > Technologies > Import > DMN 1.1

Keyboard Shortcuts

Ctrl+Alt+I : Other XML Formats > DMN 1.1

Import DMN 1.1 XML



See also


In the 'Filename' field, type in the source file path and name, or click on the Browse. icon to locate and select the file.


Click on the Import button to import the file into the Package.

Import the example from OMG

  1. Download the zip file at this link and extract it to your file manager.
  2. Browse for the folder examples/Chapter 11/.
  3. Click on the file Chapter 11 Example.dmn and import it as a DMN 1.1 format file.

These diagrams are imported to show different perspectives of the model:

  • DRD of all automated decision-making
  • DRD for the Review Application decision point
  • DRD for the Decide Routing decision point
  • DRD for the Decide Bureau Strategy decision point

These diagrams are imported to define the Decision Services:

  • Bureau Strategy Decision Service
  • Routing Decision Service

The 'Bureau Strategy Decision Service' diagram is shown here. It has two Input Data elements (Applicant data, Requested product), two Output Decisions (Bureau call type, Strategy) and five Encapsulated Decisions. Note that the invoked Business Knowledge Models are not shown on the diagram.

In order to generate production code from the model, you might have to run a validation and simulation to ensure that the imported model has the correct expressions.

  1. Create a DMN Sim Configuration Artifact on any of the listed diagrams, and double-click on it to open it in the DMN Simulation window.
  2. The Decision Services and Decisions are listed in the target drop-down field. Once you specify a target, all the required elements are listed in the window.
  3. Click on the Validate button (4th on the toolbar). If any error or warning messages display, we suggest that you to fix the problems as directed by the error or warning descriptions, before performing the simulation.
  4. Provide appropriate values for the inputs, and either run the simulation or step-debug the model.

Note: The 'Bureau Strategy Decision Service' example is also available in the EAExample Model.  From the 'Getting Started' diagram, select 'Business Modelling > DMN Examples > Bureau Strategy Decision Service'.

Learn more