Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  Help with my Expression please. Getting "+' at position 14 : There is no implementation that accepts parameters of Boolean and String." error

    Posted 07-30-2024 16:20

    I'm using this expression (copied from another flow created by another admin)

    Flow.CallLog + "-- Failed to transfer to Group VM xxxxxxxx " 

    And it's getting a error "+' at position 14 : There is no implementation that accepts parameters of Boolean and String."   

    What can I do to resolve the error?


    #ArchitectureandDesign
    #Unsure/Other

    ------------------------------
    Qan T
    Vibrant Emotional Health
    ------------------------------


  • 2.  RE: Help with my Expression please. Getting "+' at position 14 : There is no implementation that accepts parameters of Boolean and String." error
    Best Answer

    GENESYS
    Posted 07-30-2024 16:38

    Apparently you created Flow.CallLog as a boolean instead of a string variable.  To change the type, you need to delete the variable and recreate it as the correct type.  The other option is to ToString it.  Also Append is a better choice than the + operator because you don't have to worry about NOT_SET values.

    Append(ToString(Flow.CallLog), "-- Failed to transfer to Group VM xxxxxxxx ")

     



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



  • 3.  RE: Help with my Expression please. Getting "+' at position 14 : There is no implementation that accepts parameters of Boolean and String." error

    Posted 08-07-2024 10:14

    Thank you Melissa.



    ------------------------------
    Qan T
    Vibrant Emotional Health
    ------------------------------



  • 4.  RE: Help with my Expression please. Getting "+' at position 14 : There is no implementation that accepts parameters of Boolean and String." error

    Posted 08-08-2024 14:18

    It's possibly worth noting that you can view information about a variable (like it's data type and where it is referenced) by either clicking on "Data" in the Left Hand column (this will show all variables, you can select the one you are interested in from here) or, if the variable is referenced in an operation (although sadly, not in an expression) the variable name will be a link to the same information dialog.

    It is from this dialog that you can convert a Task variable into a Flow one and (depending on the variable's Scope and Context) often specify them as Input and / or Output.

    HTH



    ------------------------------
    Paul Simpson
    Views expressed are my own and do not necessarily reflect those of my employer.
    ------------------------------



Need Help finding something?

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