An invocation is a container for the parameter bindings that provide the context for the evaluation of the body of a Business Knowledge Model. There are two common use cases for an Invocation:
- Bind an Input Data to the Business Knowledge Model
- Bind parameters or context entry variables to the Business Knowledge Model
An example of each is provided in the sub-topics of this Help topic.
Double-click on the appropriate Decision element or BKM element.
The DMN Expression window displays, showing details for the selected element.
An Invocation is a type of value expression applicable to both Decision elements and Business Knowledge Model elements. It is a tabular representation of how decision logic defined within an invocable element (a Business Knowledge Model or a Decision Service) is invoked by a Decision or by another Business Knowledge Model.
Toolbar for Invocation Editor
When an Invocation is selected, a number of facilities for working on it are accessible from the toolbar of the DMN Expression window:
For more details refer to the Help topic 'Toolbar for Invocation Editor'.
The parameter bindings of an Invocation provide the context for evaluation of the body of the invocable element.
In this example:
- The Decision 'Post-bureau risk category' is represented as an Invocation connecting to the Business Knowledge Model 'Post-bureau risk category table', implemented as a Decision Table
- The Decision 'Post-bureau risk category' is the target of three Information Requirement connectors from two Input Data elements and one Decision element
- The binding list binds the input values to the Business Knowledge Model's parameters
- The Invocation also specifies the requested 'OutputClause'; in the case where a Decision Table has multiple output clauses defined, the Invocation must explicitly request an output clause as the result of the expression
Inputs from other Decisions and InputData elements can be set by pressing thein the field:
As an Invocation can only invoke one Business Knowledge Model, the output is defined by the Business Knowledge Model output.