Allowed Value Enumerations
When defining data inputs for a decision, it is common to want to restrict the set of allowable values for an input. For example, you might want to restrict the allowed values for Marital Status to just two options, Single and Married.
You can specify the allowed values for any leaf component of an ItemDefinition. These are called Allowed Value Enumerations and they are also used to support Auto Completion. When specifying values for an InputData element or an input parameter that references an ItemDefintion where Allowed Values have been defined, the user can simply choose a value from the list.
Each 'leaf' component of the ItemDefinition can define a list of Allowed Values. For example, the ItemDefinition Strategy has three allowed values - BUREAU, DECLINED and THROUGH.
The input parameters and output clauses of Decision Tables also support specification of allowable values. This restricts the values that can be used when defining the rules in the table, but also allows the user to fast fill the rules by pressing the spacebar then selecting the required item:
You can also autocomplete by typing the first letter of the option you want to enter.
A more complex example can include a number of Allowed Value Enumerations: