Oracle Magazine, May/June 2019
Mobile APPLICATION DEVELOPER 33 Repeat the testing steps 19 22 34 Notice that you are no longer stuck in a validation loop You are free and you ORACLE MAGAZINE MAY JUNE 2019 47 could give the pizza ordering another try 35 Click the Reset button at the top right 36 Close the conversation tester by clicking the Close icon X located next to the Reset button What you just did In this part of the hands on exercise you interrupted the validation loop by setting the maxPrompts parameter and defining a cancel transition that handles the invalid user input when the value set for maxPrompts is exceeded Still the user experience is not great Note Instead of canceling the pizza order you could have navigated the request to a state that provides detailed help This exercise will eventually do that so please bear with me for the moment PROVIDE VISUAL HELP In this part of the hands on tutorial you are going to display a list of values instead of only displaying an input prompt to the user After all good user guidance is a great recipe for a positive user experience 37 Go to line 39 of the dialog flow builder and edit the component definition as shown in Figure 2 The highlighted parts are the new configuration information to add 38 Run the sample bot in the embedded conversation tester by clicking the Skill Tester icon in the left menu 39 Type I like to order pizza into the Message field and press the Enter key 40 A list of pizza types is displayed for the user to select from However you insist on ordering a salami pizza Type salami into the Message field and press the Enter key
You must have JavaScript enabled to view digital editions.