Oracle Magazine, May/June 2019
Mobile APPLICATION DEVELOPER 51 Go to line 63 which defines the cancel action and create a new help action in ORACLE MAGAZINE MAY JUNE 2019 52 the row below 52 Set the value of the help action to gettingHelp as shown in Figure 3 53 Run the embedded conversation tester by clicking the Skill Tester icon 54 Type I like to order pizza into the Message field and press the Enter key 55 Then type salami into the Message field and press the Enter key 56 Notice two buttons displayed at the end of the pizza type list Help and Cancel 57 Click the Cancel button to see the cancel message as before 58 Again type I like to order pizza into the Message field and press the Enter key 59 Type salami into the Message field and press the Enter key 60 Click the Help button and notice the help that is provided by the bot What you just did In this part of the hands on exercise you created two global buttons that are displayed after the first time a user fails to provide a valid data input Instead of using Apache FreeMarker expressions to display the buttons you used the onInvalidUserInput property line 57 of Figure 3 of the System CommonResponse component Each button triggers an action that is mapped to an action transition cancel line 63 and help line 64 Now the skill behavior is that the user remains in the validation loop until one of the two buttons is clicked IMPLEMENT HELP USING ORACLE INSTANT APPS Often users dont need help but just a better interface This is especially true when users get stuck in a longer conversation flow They dont appreciate provided help that interrupts the conversation for them and makes them start over Oracle Instant Apps are reusable microscoped web applications you build declaratively for use in the context of a skill bot conversation At runtime instant apps are
You must have JavaScript enabled to view digital editions.