The last step in the creation of the script Sample Part #1: Greeting Scriptis to add a list parameter to allow the client to choose what they need help withhelp the agent inquire what the caller needs help with. The script will continue based on the option selected by the agent.
To add the list parameter:
Click and drag the List parameter from the Component palette to the step design area.
The step in the workspace changes to show you the list parameter with the information that needs to be completed.Click the list parameter to select it.
Note: A dashed red outline indicates that the step is selected for editing.Modify the parameter using the Listbox properties editor:
Click the Caption box. A Description dialog box appears. Enter the caption you want for the list parameter, and then click OK.
Note: The Caption is a rich text property; therefore, any time you edit it, the Rich Text Editor dialog will open.
The Caption you enter appears in the list parameter in the workspace.Select the Required checkbox to force an agent to enter a value on the parameter in order to continue running the script. Clear the Required checkbox otherwise.
Select the DropDownList checkbox to provide the client agent a list from where to choose the next action. Clear the DropDownList checkbox to allow the client agent to type their option instead.
Note: Allowing the client agent to type their choice is useful when the client agent can enter a custom value instead of choosing from set values only.Click Values to enter the options that will be presented to the clientagent. The Values dialog box appears.
Note: Each value in the list is linked to a script step that is disabled. When the client agent selects an option from the list, the disabled script step is enabled, and the script continues running.Click add value to enter the option to be presented to the client agent in a drop-down list. Continue clicking add value until you have entered all choices. The image below shows the three options that are necessary for the script in this tutorial.
Click the X icon in the upper right corner of the Values dialog box to close it. The options entered for the drop-down list appear in the list parameter in the workspace.
Click Save when done.
...