Oracle Magazine, July/August 2018
Mobile APPLICATION DEVELOPER 32 Click the flow icon in the same menu to open the dialog flow The dialog flow is defined in OBotML a markup language for defining bot conversation flows 33 Create a new context variable autotranslate of type boolean in the Context ORACLE MAGAZINE JULY AUGUST 2018 57 Variable section context variables iResult nlpresult pizzaType PizzaType pizzaSize PizzaSize orderNumber NUMBER cancelOrderYesNo YesNo pizzaMenu string cardsRangeStart int autoTranslate boolean Note Check the spelling and note the uppercase T in autoTranslate 34 Click the green Components button at the top of the dialog flow 35 Select Variables in the opened Select a Component Type dialog box 36 Click the Set variable menu item 37 Select initializeMenu from the Insert After select box and toggle the Remove Comments button on as shown in Figure 3 38 Click Apply 39 In the dialog flow editor change the name of the added setVariable state to enableAutoTranslation and set the variable property to autotranslate and the value property to true
You must have JavaScript enabled to view digital editions.