Prev Next

Example 2 - Bind Context Entry variables to Business Knowledge Model

The full example can be created using a Model Pattern (Access - Ribbon: Simulate > Decision Analysis > DMN > Apply Perspective > DMN Business Knowledge Model > Business Knowledge Model Invocation : Create Pattern).

A DMN diagram Business Knowledge Model diagram (BKM), using Sparx Systems Enterprise Architect.

In this example, the BKM Difference Of Two Squares is implemented as Boxed Context:

  • The variable sum of ab is implemented as an invocation by binding parameters a and b to BKM Addition
  • The variable difference of ab is implemented as an invocation by binding parameters a and b to BKM Subtraction
  • The variable difference of squares is implemented as an invocation by binding local variables sum of ab and difference of ab to BKM Multiplication

An example of using a DMN Boxed Context defined in a Business Knowledge Model (BKM) modeled in Sparx Systems Enterprise Architect.

In order to make the binding easier, auto-completion is supported for the binding expression.

The full modeling and simulation instructions are available in the Pattern's document.