Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  expre

    Posted 07-28-2023 12:20
    No replies, thread closed.

    Hi Community,

    I am attempting to use the Bot Exit Reason to make routing decisions when there is a system error. However, there are many different Exit Reasons. I am using a Switch to attempt to pick the string that contains Error. What function can I use to get Error out of the string and evaluate as true? I have tried Contains and FindString but not getting anywhere. Thanks. 

    #expression

    #ArchitectEmailFlow

    #Architect


    #ArchitectureandDesign
    #ConversationalAI(Bots,AgentAssist,etc.)

    ------------------------------
    Matthew Raleigh
    Thermo Fischer CRG
    Sr. IT COMM Eng.
    ------------------------------


  • 2.  RE: expre
    Best Answer

    Posted 07-28-2023 19:11
    No replies, thread closed.

    Hey Matt

    The Exit Reason values for errors start with "Error." so try following expression

    Substring(<insertExitReasonVariable>, 0, 5) == "Error"



    ------------------------------
    Cheers
    Zubair
    ------------------------------



  • 3.  RE: expre

    Posted 07-31-2023 10:31
    No replies, thread closed.

    Thanks, Zubair. I appreciate your help. 



    ------------------------------
    Matthew Raleigh
    Thermo Fischer CRG
    Sr. IT COMM Eng.
    ------------------------------