Use a template to define the implementation and parameters
for either a condition or an action value in a decision table. This
template can then be used to create new cells with the same format,
but with different parameter values.
About this task
Decision tables, in which the conditions or actions are
based on templates are dynamically modifiable in the runtime environment.
Base the conditions or actions of a decision table on a template if
you want to give your business analyst the ability to modify the runtime
behavior of the decision table without involving the integration developer.
To
create a template for one of the values in your decision table, proceed
as follows:
Procedure
- In the decision table editor, choose a cell and click the Converts
an expression of a decision table cell into a template (
) icon . If you are working with an existing value
in the table, then the system will examine the expression and convert
all literal values into parameters.
The value appears
in a small square to indicate that it is a template, and a new template
appears as in the
General tab of the properties
area shown in this image:
- In the Parameters row, you can create a new parameter as
follows:
- Click the
icon. A new parameter will
appear.
- In the Type column, click Select Type,
and select an appropriate choice from the list.
- To add a restriction on how the parameter can be configured,
click None under the Constraint column.
A list showing the available choices will appear.
- To specify an upper and a lower limit for the constraint,
click Range, and then use the choices in the
window to build your expression.
You can either choose
an existing template which will then prompt you for a value, or you
can compose it yourself by clicking the appropriate operators and
values in sequence.
- Alternatively, to specify a list of choices, click Enumeration,
and add an item to the Enumeration Items table in the Constraint tab
in the properties view.
The Value is the actual setting,
and Presentation is how it is displayed in an actual rule.
- In the Presentation row, write a sentence that will appear
in the cell.
To insert a parameter that the user can make
changes to, click the triangular icon to launch a menu, and then choose
a parameter from the list.
- If you want to make changes to this value's implementation,
click the first cell in the Expression row, and use the choices in
the pop-up window to build a new expression.
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15