Editing action object fields

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

  1. In the Event Explorer view, double-click the action object name to open the action object in its editor.
  2. 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.
  3. You can edit the field name, the field data type, the documentation, and field definition as required.
  4. 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.
      1. Select Undefined from the list.
    • Field, specifies which field in a business object is used to populate the action field.
      1. Select Field from the list.
      2. 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.
      1. Select JavaScript from the list.
      2. Type the required expression in the JavaScript expression box.
    • Constant value, a single value is used to populate the action field.
      1. Select Constant value from the list.
      2. 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.
      1. Select Parameter from the list.
      2. 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.
      1. Select Filter from the list.
      2. 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.
      1. Select Named constant from the list.
      2. Click the named constant that you want to use from the list.