Oracle Magazine, May/June 2019
Mobile APPLICATION DEVELOPER EXPERIENCING THE PROBLEM Before you fix the imported skills conversation issue first experience the problem from a user perspective 19 Run the sample bot in the embedded conversation tester by clicking the Skill ORACLE MAGAZINE MAY JUNE 2019 45 Tester icon in the left menu 20 Type I like to order pizza into the Message field and press the Enter key on your keyboard 21 Type salami into the Message field and press the Enter key again 22 Apparently salami is not a valid answer Type ham into the Message field and press the Enter key 23 Oracle is an American company so type bbq into the Message field and press the Enter key 24 Again this is not a valid choice Click the Reset button at the top right 25 Close the conversation tester by clicking the Close icon X located next to the Reset button What happened The pizza skill validates the pizza type selection against a valuelist entity The entity contains values and synonyms for the pizzas that a user can order When you input a wrong pizza type the entity validation fails and the prompt is displayed again The implementation in the sample keeps you in an infinite validation loop with no exit So the first thing you need to do to improve the user experience is to implement an exit strategy EXITING THE VALIDATION LOOP Input components in Oracle Digital Assistant have two properties in common maxPrompts expects a numeric value that defines the number of allowed failed user inputs before a cancel transition
You must have JavaScript enabled to view digital editions.