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