Enterprise Architect 14: Integrating BPMN and DMN Simulation

Webinar April 2018
In this webinar, you will:
  • Explore the links between decisions, processes and simulation, using Model Patterns
  • Model decisions in DMN and integrate them with business processes in BPMN
  • Configure and assign DMN decisions to BPMN Simulation Properties

Integrating BPMN and DMN, Enterprise Architect 14 provides a tool suite for dynamically executing, simulating and exploring behavioral models.

Enterprise Architect 14 produces streamlined business process designs, in which BPMN diagrams are easier to read and more focused. The decision making model is visualized using a separate, linked DMN diagram and produces re-usable application code. This flexible approach to analyzing business processes, helps you run, evaluate and test multiple decision outcomes with ease.

Scott Hebbard
Scott Hebbard

Explore the Example Model

We have provided the example Enterprise Architect model used in the demonstration.
Example Model: Example model (.eap file) Download the Enterprise Architect Model used in the DMN - BPSIM integration webinar

Questions from the Audience

Click on a question to see the answer.


 Is there a standard interchange format for the contents of each DMN table?

Yes. The DMN model in Enterprise Architect conforms to DMN 1.1 specification, which is available via the Object Management Group (OMG) website: http://www.omg.org/spec/DMN/1.1.

Enterprise Architect currently supports the import of DMN 1.1 compatible files. For an example, see: http://www.omg.org/spec/DMN/20151101/ch11example.xml.

Enterprise Architect does not currently support export of DMN content.

 Can your implementation of DMN handle probability distributions for health care variables?

Yes. It is possible to use BPSim and DMN together, using probability distributions to represent various health care variables. Take the delivery cost model in this Webinar as an example: Two random numbers conforming to a kind of distribution are generated and passed into the DMN model, with the Business Knowledge Model returning the value to BPSim.

Here are a list of probability distributions that BPSim currently supports:

  • Beta
  • Binomial
  • Erlang
  • Gamma
  • LogNormal
  • NegativeExponential
  • Normal
  • Poisson
  • Triangular
  • TruncatedNormal
  • Uniform
  • Weibull.

 Does the generated Java code provide 2-way synchronization? So if the generated Java code is edited in a text editor, would that be available in Enterprise Architect?

Java code can be generated from a DMN model and can be imported into Enterprise Architect through reverse engineering, which will create classes, attributes and operations in the model. Enterprise Architect does not, however, support creating DMN models, such as Decision Tables, from source code.

BPSim Execution

 Where can I find out more about BPSim?

For details about BPSim, see the Help topic BPSim or the MDG BPSim Execution Engine web page. The webinar entitled Introducing Enterprise Architect 14 – Business Process Simulation also provides a valuable introduction.

 Will the BPSim execution engine be included with Enterprise Architect 14?

Yes. Enterprise Architect includes the Execution Engine in the Unified and Ultimate editions.

 Is it possible to use BPsim in a sequence diagram?

When time parameters are set on model elements, such as events and tasks, the user can generate Timing Diagram. An example is shown in the Help topic BPSim - Step Page.

BPSim cannot, however, be used with Statemachines currently.

 Is the BPSim engine deployable for actual production? Or is it more of a development time artifact?

It is important to thoroughly analyze business processes in a safe and isolated environment before they are deployed. In order to deliver more efficient and effective operations, many different kinds of parameters, such as Time, Control, Resource and Properties are supported in various situations and frameworks. For example, different statistical distributions can be applied to a variable that indicates how often a customer will turn up at a call center, or that represents the number of parts that need to be repaired in a randomly generated sample.

Currently you cannot generate code from BPMN or BPSim to use in actual production. The modeling and simulation, however, helps you to optimize your processes, validate your business rules and identify any unexpected consequences of varying parameters. For example, one set of rules may unexpectedly push up costs, while another may turn customers away. So not only can you verify system behavior against requirements and tune process performance at design time, you can also run multiple simulations to analyze the impact that different rule sets have.

Decision Modeling Notation

 Where can I find out more about DMN?

Decision Model and Notation (DMN) is a standard published by the OMG. For more details about DMN, see the Help topic DMN. Details about the specification are available from the OMG website.