Values Tab

The Values tab can only be accessed for field types Radio Button and Drop down List.

Values

This section allows you to define the field’s values.

Properties

When the user clicks on the Properties button a dialog box will be displayed depending on the value type selected (Static, Process Flows, Streams, Pages).

Static

Use Static to indicate that the values for a drop-down list or radio button are not from a table in a database. Genesys Agent Scripting will store the values for the field inside the application. You input values by clicking the Properties button.

When you click Properties and you have previously selected Static, the Field Value List is displayed.

Add

Selecting the Add button opens the Field Value dialog box.

Value Order

The value order is used to determine the order a value will appear in the radio field or drop-down list. This will shift all other fields with higher value orders down one in the order.

Display Value

The display value is the value the user will see on the script page.

Database Value

The database value is the actual value that will be assigned to the field when you select the current value.

Note: This value defaults to the display value, but may be overridden, and may be empty, or contain the same data as another Field Value entry. When Field Value data is duplicated, this field should not be used as a filter field or a visibility selector for any other Genesys Agent Scripting field.

Filter Value

The filter value is the value assigned to this value for filtering. Filtering can be used to reduce the number of choices the person using the scripts has to look at.

For example, suppose you need to determine how someone heard about a service being offer. First you want to determine if they heard an advertisement on the radio, or saw the ad in the newspaper. The ad is currently run on 15 radio stations and printed in 5 different newspapers. If you did this without filtering, there would be one drop-down list that lists all 15 radio stations and 5 newspapers. With filtering, you could create a drop-down list called media source and give it two values: Radio and Newspaper. You would then create a second drop-down list and add all 20 values to the list (15 radio stations, and 5 newspapers). However, in this case you would set the Filter Field to the Media source field, and on each value in the drop-down list, you would set the filter value to the appropriate value (Radio or Newspaper).

This field only becomes active when a field is set in the Filter Field drop down under the Values tab.

Edit

Use the Edit button to edit the Field Value List. In order to edit a field value, you must select a field value from the Field Value List and click Edit. When this option is selected, the Field Value dialog box will appear. You can then edit any item on this dialog box.

Delete

Use the Delete button to delete field values. In order to delete a field value, you must select a field value from the Field Value List and click Delete. A confirmation message will appear.

Delete All

The Delete All button will delete all preexisting values in the Field Values List.

Import

The Import button allows you to import values from an external database table into a list of static values. Clicking this button opens the Import Values from Table dialog box.

Each of the options on this dialog box is described below.

Database

Select a database for a source for this data element. Databases are defined in the database section below.

Table

Select the table as the source for values for this field.

Order Column

The order column allows you to select a column from the database table on which to order the items in the table.

Display Column

The values in the display column will be the items displayed in the drop-down list or as options in the Radio button field.

Database Value

The database value indicates the column in the table that should be used to assign a value to the Genesys Agent Scripting field. This can be the same column as the display column above or a different one.

Filter Column

The filter column is the column in the table that should be used for filtering. See the example in the Static Field values section.

Process Flows

You can create a list consisting of process flows, streams, and pages.

When you click Properties and if you have previously selected process flows, the Field Test Value List is displayed.

Streams

You can create a list consisting of process flows, streams, and pages.

When you click Properties and if you have previously selected streams, the Field Test Value List is displayed.

Pages

You can create a list consisting of process flows, streams, and pages.

When you click Properties and if you have previously selected pages, the Field Test Value List is displayed.

Branch on Value Change

Select this option to have Genesys Agent Scripting automatically branch each time the value of the field changes.

Filter Field

In this field, you can select a field to act as a filter for this drop-down list or radio button. When you select a field to be a filter, its value will be used to determine the values that will be displayed on the script page. See filter value for more information.

Hide Radio Button Heading

If this box is selected, the heading for the radio button will not appear on the window at runtime. This option is disabled for drop-down lists.

Alternate Format for Radio Button

This option allows radio buttons to be displayed horizontally without a border and without a title. It is disabled for drop-down lists.