Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  How to have account number read like a number

    Posted 11-18-2022 15:54

    ran into an issue with message drop where the account reference number for example 1110 reads one thousand one hundred and ten, let me know if there's a fix.  Thanks.


    #ArchitectureandDesign


  • 2.  RE: How to have account number read like a number

    GENESYS
    Posted 11-18-2022 16:10

    Choose speak each digit or speak each character as the format (depending on whether the variable is an integer or string)



    ------------------------------
    Melissa Bailey
    Genesys - Employees
    ------------------------------



  • 3.  RE: How to have account number read like a number

    Posted 11-22-2022 19:03
    Thanks Melanie.

    ------------------------------
    Claudette Reid
    Financial Debt Recovery Limited
    ------------------------------



  • 4.  RE: How to have account number read like a number

    Posted 11-18-2022 17:01
    If you are trying this in a Bot Flow, you have to split your communicate between voice and text.  Use the Text and Voice optional prompts or something like this:

    If(IsSet(Flow.CustomerClaimNumber),

      If(Session.ChannelType =="call",

        ToCommunication(ToString(Split(ToString(Flow.CustomerClaimNumber), ""), " ")),

        ToCommunication(Flow.CustomerClaimNumber)

      ),

      ToCommunication("")

    )

     

    Or another where each part is converted to a string and then there's an overall ToCommunication function call for any returned string:

    ToCommunication(

      If(IsSet(Flow.CustomerClaimNumber),

        If(Session.ChannelType=="call",

          ToString(Split(ToString(Flow.CustomerClaimNumber), ""), " "),

          ToString(Flow.CustomerClaimNumber)

        ),

        ""

      )

    )



    ------------------------------
    Robert Wakefield-Carl
    Avtex Solutions, LLC
    Contact Center Innovation Architect
    https://www.Avtex.com
    https://RobertWC.Blogspot.com
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources