Action object fields represent data that is passed from
the event runtime to a target touchpoint system by using an action
connector. The event runtime populates the action object fields with
values based on instructions in the action field definition.
Before you begin
In
Event Designer,
open the Event Explorer view.
About this task
Use Event Designer to
view a list of the fields defined for an action object. You can edit
the configuration for each field and define how the field is used
or populated.
To add or change the definition used to populate
a field, complete the following steps:
Procedure
- In the Event Explorer view, double-click the action object
name to open the action object in its editor.
- To view the field definition, double-click the field name
in the table. You can also click the field in the table and click Edit.
- You can edit the field name, the field data type, the documentation,
and field definition as required.
- You can define how the action object field is populated
by selecting the Definition type. You can select
one of the following choices:
- Undefined, the value of the action field is null.
- Select Undefined from the list.
- Field, specifies which field in a business object is used
to populate the action field.
- Select Field from the list.
- Click the names of the Business Object and the corresponding Business
Object field that you want to use to populate the action object field.
- JavaScript, a JavaScript expression is used
to populate the action field.
- Select JavaScript from the list.
- Type the required expression in the JavaScript expression box.
- Constant value, a single value is used to populate the action
field.
- Select Constant value from the list.
- Type the required value in the Constant value box.
- Parameter, the action field is populated by using a value
provided when the action is defined as part of an event rule group.
See the section titled "Navigation and action verbalizations" in
the Defining actions topic to find
out more about how to use parameters.
- Select Parameter from the list.
- Type a name for the parameter. The parameter name can be used
in the action verbalization template in the parent action.
In Event
Designer, when you add the action to an event rule, a field (that
is labeled with the parameter name) is provided in the event rule
so that you can enter a value for the parameter.
- Filter, specifies which filter is used to populate the action
field.
- Select Filter from the list.
- Click the filter name that you want to use from the list of available
filters. The result of the filter, true of false, defines the value
of the action field.
- Named constant, the action field is populated by using a named
constant.
- Select Named constant from the list.
- Click the named constant that you want to use from the list.