Prev Next

Example 2 - Bind Context Entry variables to Business Knowledge Model

A full example can be created with a Model Pattern (in the ribbon, select 'Simulate > Decision Analysis > DMN > Apply Perspective > DMN Business Knowledge Model Examples > Business Knowledge Model Invocation : Create Pattern).

In this example, the Business Knowledge Model (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

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 documentation.