An initialization action rule automatically performs an
operation of some kind when data is first being passed to a decision
table.
About this task
Typically, an initialization action rule is used for the
following reasons:
- To set an initial value. For example, to copy one or more input
business object(s) to one or more output business object(s)."
- To initialize an output business object. For example, to set the
initial value of the business objects attribute. More importantly,
if the business object has attributes that are also business objects,
then you can create those business objects (and this can be recursive
if they in turn contain even more business objects).
Initialization action rules can also be made
into templates so that they can be modified in the runtime environment.
Procedure
- To create an initialization action rule, proceed as follows:
- In the decision table editor, click the Add
an initialization action rule (
) icon.
- Assign a name to your new initialization action rule
in the name field.
- In the Presentation field, enter a sentence that will
describe what this initialization rule does to a web user.
- In the Action field, use the
inline condition builder to define the operation that will take place.
- To create a template for the initialization action rule,
proceed as follows:
- In the decision table editor, click one of the cells
in the Initialize area.
- Click the Convert Rule or Table cell to Template (
) icon. The rule area
changes slightly.
- Click anywhere in the Initialize area, and the template
editor will appear in the General tab of the
properties area.
- Configure the template according to the instructions
in Creating decision table templates.
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15