Robotic Process Automation (RPA)

 View Only
  • 1.  BotAsk command is not capturing User response to the Output Value parameter.

    Posted Thu December 07, 2023 07:55 AM

    Dear Members,

    In My chatbot script, BotAsk command is not capturing User response to the Output Value parameter. 

    Any inputs on this. no changes made in the environment apart from bot handle name change.

    Thanks

    Avinash



    ------------------------------
    Iva Nakan
    ------------------------------


  • 2.  RE: BotAsk command is not capturing User response to the Output Value parameter.

    Posted Thu December 07, 2023 12:37 PM

    Hi Iva, could you display the key sections of your chatbot code? Perhaps one of us will notice something useful.



    ------------------------------
    Martin Medina
    ------------------------------



  • 3.  RE: BotAsk command is not capturing User response to the Output Value parameter.

    Posted Fri December 08, 2023 01:36 AM
      |   view attached

    Hi Martin,

    PFA, Screenshot. am trying to display the value in message box.

    Also, below is my script

    defVar --name botLanguage --type Language
    defVar --name waitTime --type Boolean
    defVar --name successQuestion --type Boolean
    defVar --name phraseObtained --type String
    defVar --name Output --type String
    createLanguage --culture "en-US" botLanguage=value
    botConnect --type "Chat" --language ${botLanguage} --timeout "00:05:00"
        botAsk --beep  --language ${botLanguage} --text "Welcome to IBM. Tell us which sector you want to talk about?" --textformat "Markdown" --timeout "00:01:00" phraseObtained=value waitTime=timedout successQuestion=success
        messageBox --title Message --text "${phraseObtained}" --icon "Information" --buttons "OK" --defaultbutton "FirstButton" Output=value
    botDisconnect
    logMessage --message "Achieved: ${successQuestion}\r\nTime: ${waitTime}\r\nValues: ${phraseObtained}" --type "Info"



    ------------------------------
    Iva Nakan
    ------------------------------



  • 4.  RE: BotAsk command is not capturing User response to the Output Value parameter.

    Posted Sun December 10, 2023 08:46 AM

    Hi Iva,

    Very strange, because I tested your code and it worked as expected.

    Which version of IBM RPA are you using? I'm on Saas version 23.0.7

    Hugs



    ------------------------------
    Angelo Alves
    ------------------------------



  • 5.  RE: BotAsk command is not capturing User response to the Output Value parameter.

    Posted Sun December 10, 2023 11:27 PM
      |   view attached

    Hi Alves,

    I am using 23.0.2 on-premise.  PFA, Screen shot.

    Any work around to resolve this issue?

     



    ------------------------------
    Iva Nakan
    ------------------------------