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

Configure DMN Simulation

A DMNSimConfiguration Artifact contains information to simulate a DMN model depicted by Decision Requirements diagrams.

Access

Ribbon

Simulate > Decision Analysis > DMN > Open DMN Simulation > Configure Page

Other

Double-click on a DMNSimConfiguration element

Toolbar Options

Option

Description

See also

Click on this button to select or create a DMNSimConfiguration element.

Click on this button to set a Package for the DMNSimConfiguration Artifact. All DMN elements under this Package or its sub-Packages will be loaded.

Click on this button to reload DMN elements from the configured Packages. For example, when some DMN elements are modified, run this command to reload the Package so that the changes will be taken into account for DMN Simulation.

Click on this button to open the dialog for editing data sets for the selected input data.

Data Sets

Click this button to save the DMN Simulation window information to the DMNSimConfiguration element, including the:

  • Target Decision
  • Selected Dataset for each dependent InputData

Click on this button to export the 'name = value' records for all the InputDatas and their specified DataSets to a BPMN 2.0 DataObject (write to the Notes).

Click on this button to export the 'name = value' records for the selected InputData and its specified Dataset to a BPMN 2.0 DataObject (write to the Notes).

The values defined in the BPMN 2.0 DataObject will be read by the Enterprise Architect BPSim Execution Engine.

DMNSimConfiguration Artifact

You can create a DMNSimConfiguration element in one of these ways:

  • In the DMN Simulation Window, click on the Artifact button on the toolbar
  • On a Decision Requirements Diagram, drag the DMNSimConfiguration element from the toolbox

By default, all DMN elements in the current Package (Decision, BusinessKnowledgeModel, InputData ItemDefinition) will be loaded to the Simulation window.

Decision Hierarchy

When a Package is loaded, a Decision Requirements Graph (DRG) and decision dependency hierarchy are created. The DMN InformationRequirement connectors determine the hierarchy.

  • All the decisions will be listed in the 'Target Decision' combo box
  • When a 'Target Decision' is specified, all the dependent Decisions, invoked BusinessKnowledges, InputDatas and the typed ItemDefinitions will be determined

DataSet & Input Data

When the Target Decision is selected, all the dependent InputDatas are added to the list.

You can choose a dataset for simulation from the list of defined datasets of an InputData.

An example of choosing a Dataset for a DMN simulation using Sparx Systems Enterprise Architect.

You can also change the dataset value in the list, if the ItemDefinition specifies an Allowed Value Enumeration. The auto-completion feature is supported and you can simply choose from a list of enumerations.

An example of altering a Dataset for a DMN simulation using Sparx Systems Enterprise Architect.

You can also edit the datasets for an InputData by clicking on the Dataset button on the toolbar to open the 'Dataset Edit' dialog.

An example of setting a Data Set for InputData used in simulation of a DMN model using Sparx Systems Enterprise Architect.

Learn more