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
------------------------------
Original Message:
Sent: 07-19-2024 13:35
From: Jason Kleitz
Subject: formatDate() error in spanish
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
Original Message:
Sent: 07-18-2024 09:41
From: Francisco Ruiz Pastor
Subject: formatDate() error in spanish
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
------------------------------