In Dialog Designer applications, the order in which different versions of prompts are played, can also be controlled. Prompt levels allow for different versions of a prompt when a prompt is repeated for a caller. See Understanding Prompt Levels.
Depending on where the prompt is placed, the Play Order settings affect the way prompt levels are selected differently:
- If the prompt is used at the topmost level of a node, the only Play Order setting that affects the order or selection of the prompt level is Random. In this case, each time the call flow enters the node, Dialog Designer selects which prompt level to use on a random basis.
- The other Play Order settings have no effect on these prompts.
- If the prompt is used at any other level within a node, the selected Play Order option determines how prompt levels are used:
- Standard - This option uses the number value of the level to determine when this prompt gets played. When the system reaches the highest numbered level, it uses that level for all following repeats.
- For example, suppose you want the system to use the first level of a prompt twice before the system uses the second version of the prompt. In other words, you want the second version of the prompt to not play until the third time the prompt is played.
- In this case, add one new level for the prompt, but instead of entering 2 in the Please enter the attempt count field of the Prompt Count dialog box, enter 3. This entry causes Dialog Designer to display 3rd in the level tab for this level.
- At run time, then, the system plays the 1st prompt level before it plays the 3rd level.
- First - This option causes only the 1st or lowest numbered prompt level to be played, no matter how many times the prompt is repeated. The system ignores all prompt levels other than 1st. If there is no 1st level, the system plays the lowest numbered prompt level.
- Random - This option selects the level to play on a random basis, so the order in which the levels are played cannot be determined.
- Sequential - This option plays each level once, in order from the lowest to the highest numbered level. When the system reaches the highest numbered level, it uses that level for all following repeats.
- For example, consider three prompt levels numbered 1st, 4th, and 5th. With this option, the system plays the 1st level on the first pass. On the second pass, the system plays the 4th level. On the third and all following passes, the system plays the 5th level.
Although it is unlikely that a prompt will need to be repeated more than three or four times, the following example describes how Play Order options work. For this example, assume that the prompt is supposed to repeat indefinitely. Assume also that there are four prompt levels, numbered 1st, 3rd, 5th, and 6th. The following table shows how these four prompt levels would be presented for each Play Order option:
Play Order option:
|
How levels would be presented:
|
---|
Standard
| 1st, 1st, 3rd, 3rd, 5th, 6th, 6th, 6th, 6th...
|
First
| 1st, 1st, 1st, 1st, 1st, 1st...
|
Random
| 5th, 3rd, 6th, 3rd, 1st, 1st, 1st, 5th, 6th...
|
Sequential
| 1st, 3rd, 5th, 6th, 6th, 6th, 6th...
|