Prev | Next |
BKM Parameters
A Business Knowledge Model is implemented as a function definition, with parameters and a DMN expression as its body (such as Decision table, Boxed Context or Literal Expressions).
As a BKM is intended to function stand alone, and be called by other Decisions or BKM's, it is necessary to define any input parameters. Also, for Literal Expressions, you need to define the output parameter.
When defining any input Parameters you can set these with default values for testing. After creating a BKM, to verify that it functions correctly, you can run a simulation based on these default values.
Parameters of a Business Knowledge Model
To open the 'Edit Parameters' dialog, in the DMN Expression window, click on the :
Note: this is an example for a Literal Expression which includes a return type.
Edit parameters
You can perform these actions on the parameters:
Action |
Description |
---|---|
Add |
Add a new parameter by typing in the 'New Parameter...' row. |
Edit |
Modify the name of the existing parameter by in-place editing in the cell. |
Delete |
Delete an existing parameter using the context menu. |
Define the Type |
Click on the Type to enable a drop-down. Select a type for the parameter from the drop-down. Set an Item Definition Type When changing the type of Parameter there is an option to select a pre-defined type from an ItemDefinition. The option for this is 'Select Type ...'. When this option is selected it will open a dialog for selecting an ItemDefinition. |