Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  formatDate() error in spanish

    Posted 07-18-2024 09:41
    No replies, thread closed.

    Dears all.

    I need use this code in my script to get the current time:

    formatDate(dateToMilliseconds({{Scripter.Customer Call Start Time}}) +durationToMilliseconds({{Scripter.Customer Call Duration}}), "HH:mm:ss")

    When use this code in a dinamic variable i can see the clock however this variable only work when we use english language my agents use spanish and this variable is empty for these


    #ArchitectureandDesign

    ------------------------------
    Francisco Ruiz Pastor
    LogiRAIL
    ------------------------------


  • 2.  RE: formatDate() error in spanish

    Posted 07-19-2024 13:36
    No replies, thread closed.

    Hello Francisco,

    I am not aware of any limitations on script elements with regards to different languages. You might want to recreate the script, save, and publish it again to see if the changes work. 



    ------------------------------
    Jason Kleitz
    Genesys - Employees
    ------------------------------



  • 3.  RE: formatDate() error in spanish

    Posted 07-19-2024 17:13
    No replies, thread closed.

    Hello Jason, in spanish you cant use formatDate() try to set one dinamic string with this value:

    formatDate(dateToMilliseconds({{Scripter.Customer Call Start Time}}) +durationToMilliseconds({{Scripter.Customer Call Duration}}), "HH:mm:ss")

    If you call this variable in your script only to see, you cant see a clock however if you change the language to spanish formatDate() dont work this variable is empty



    ------------------------------
    Francisco Ruiz Pastor
    LogiRAIL
    ------------------------------



  • 4.  RE: formatDate() error in spanish
    Best Answer

    Posted 07-23-2024 12:47
    No replies, thread closed.

    It might be the same issue as discussed in this thread....



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