Currently, we are using a script to retrieve call information and construct a system that integrates it with external applications.
To confirm the accuracy of the information and enhance security, it is important for the external application side to verify that the "current time recognized by the external application" receiving the call information matches the "current time recognized by the script" provided by the script.
Based on the information from the Developer Community below, we have retrieved the current time by adding "Scripter.Agent Call Duration" to "Scripter.Agent Call Start Time."
https://developer.dev-genesys.cloud/forum/t/how-to-get-current-date-time-in-the-script-solution/20804
However, the addition of "Scripter.Agent Call Duration" ceases when the call is disconnected.
Therefore, the current time cannot be retrieved during ACW after the call is disconnected.
The agent wants to input information during ACW and integrate it with the external application via the script, so it's necessary to integrate the current time while in ACW.
For example, the requirement could be met if the following variables were available:
- A method to directly retrieve the current time in the script
- A method to obtain elapsed interaction time that continues to increase even during ACW in the script
Is there a way to get these?
#Scripts
------------------------------
Yurie Ikura
NA
------------------------------