Add Action
Using the add action (plus icon), we can add new rule(s) to the table, new input variable(s) and new output variable(s).
Using the 'Add new rule' option, we can add a new business rule into the decision table and define the required business conditions based on the input variables.
Using 'Add new input variable' or 'Add new output variable', a user can provide the required columns details such as - column name, variable name, variable type and allowed values in a new modal window. The new input or output column would be added to the decision table on submit.
Column details
- Column label: Name of the column to display in decision table header.
- Variable name: Variables are used to store values in the business rules.
- Variable type: Variable type can used to specify the data type for the selected column. Supported data types are String, Number, Boolean, Date, Collection.
- Allowed values (optional): It is possible to restrict the values that can be provided in input or output variables in a rule, by providing a predefined set of values for the corresponding variables.
Note: For variable type number, we support a range of types such as short, integer, long, double during decision executions.
Input column
Output Column
Column Menu Options
Every input and output column header contains dropdown menu options such as 'Edit', 'Move to the right', 'Move to the left' and 'Remove criteria'.
Menu options :
- Edit: To edit the column details.
- Move to the right: To move the selected column to the right.
- Move to the left: To move the selected column to the left.
- Remove criteria: To delete the column from the decision table.