Dropdown script component
A dropdown list allows an agent to choose one selection from a list. An inactive dropdown list displays the last selected value or the default value of the variable that it is bound to.
- From the component toolbar, click Dropdown .
- Expand the Advanced property group.
- From the Value settings, choose a string variable. Note: At run time, this variable stores the agent’s selection.
- To define selections for the agent to select from, under Options click Edit List. The Editing List appears and provides tools for adding, editing, rearranging, or removing list items from a dropdown.
- Click Add New Item.
- Under Value, type a unique value to store in the variable when this item is selected.Tip: Values and labels for dropdown items can include interpolated variables or normal text. For more information, see Use braces to display variable values and Built-in variables.
- In Display, type the text that the agent sees as a selection to choose from.
- Click Add.
- Repeat steps 4 through 8 to add other items to the list.
- To reposition items in the list, use the up and down arrows.
- When you finish, close the list. At run time, the dropdown list displays these choices to the agent. If a value was previously selected, then the value is indicated by a check box.
- To define a dynamic dropdown list for the agent to select from, under Options click the menu and select Variable.
- In the Values List dropdown list, select a variable, or create a new variable.
- (Optional) Select an action to run when an item is chosen from this dropdown.
- Click No action selected under Change Action in the component properties.
- Set any other properties of this component.
Common
Layout
Advanced
[NEXT] Was this article helpful?
Get user feedback about articles.