Skip to main content

Business Knowledge Model (BKM)

A Business Knowledge Model denotes a reusable function of business knowledge.

This tutorial pulls logic that two decisions repeat into a business knowledge model and calls it from both.

Purpose​

  • Reusability: Encapsulates logic (e.g., mortgage calculation) that is used by multiple decisions.
  • Parameterization: BKMs act like functions, they declare parameters and return a result.

Usage​

A BKM is invoked by a Decision.

  1. Definition: The BKM contains a boxed expression (usually a Decision Table or Literal Expression) and a list of parameters.
  2. Invocation: A Decision uses a Knowledge Requirement connector to link to the BKM and calls it via a Boxed Invocation or FEEL function call.
CalculatedPayment = MortgageCalulator.pmt(Principal, Rate, Term)