Let's Reconnect, thank you for making 2022 our best year yet.

Look Back
How system.intent work based on user input in ODA? — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How system.intent work based on user input in ODA?

Question
2
Views
0
Comments
edited Oct 29, 2019 8:53AM in API Management

Summary

system intent is not working based on the user input

Content

System intent "TimeExpenseCount"  based on utterances.here user input  "jd" not in utterances but  it invoking the intent "TimeExpenseCount"

below is  OBOTML

states:
  intent:
    component: "System.Intent"
    properties:
      variable: "iResult"
      translate:
      daIntercept: "always"
    transitions:
      actions:       
        Wel: "welcome"
        TimeExpenseCount: "printdata"
       
        ViewTimeProjhours : "getTimePrjhrs"
        unresolvedIntent: "unresolved"
        ViewUserExpenses: "getExpense"
        VeiwTimeCard: "typeprompt"      
   
    
      
####################################################################################################################
# Welcome intent - provide user selection
################################################################################################################ 
  welcome:
    component: "System.Text"
    properties:
      prompt: "Hi ${profile.firstName},\nHow can I help you ?"
      variable: "words"
    transitions: {}

####################################################################################################################
# Time & Expense count ################################################################################################################
         
  getTimeExpenseCount:
    component: "getTimeExpenseCount"
    properties:
      timecardcount: "timecardcount"
      expcount: "expcount"
      person_id: "person_id"

  printdata:
    component: "System.List"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!