Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  How to get actual Queue Wait time

    Posted 06-25-2021 13:59
    No replies, thread closed.
    Hi Team, we have a requirement - if none of the agent available and my caller reached to Transfer to ACD block, we will play the Queue Msg+music and then will check if actual queue wait time will >16 sec than transfer to VM
    I am playing a 9 Sec Queue message + 8 Sec queue music, which is almost consuming 17 sec.

    I am thinking to use GetCurrentDateTimeUtc() just before and after will play 17 sec queue msg and music.
    later i can get the difference of time and if the difference is more than 16 sec then will transfer to VM.
    is there any other way to achieve this ? how i can get the different for time, trying to use DateTimeDiff() , but seems it is not working.
    #ArchitectureandDesign

    ------------------------------
    annie Ng
    Accenture Company Limited
    ------------------------------


  • 2.  RE: How to get actual Queue Wait time

    Posted 06-25-2021 14:25
    No replies, thread closed.
    Audio is not immediately played in a flow, it's cached up and flushed when appropriate.  So if your flow looks like this
    update data action1
    play audio
    update data action2

    The timestamps for the 2 update data action will be almost identical, different by a few milliseconds at most.
    The easy way to force a flush is to use a collect input action.  Set the timeouts to the minimum, and make sure verification is turned off.
    update data action1
    play audio
    collect input
    update data action2

    https://help.mypurecloud.com/articles/audio-buffer-and-flush-in-architect-flows/

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



  • 3.  RE: How to get actual Queue Wait time

    Posted 06-30-2021 12:57
    No replies, thread closed.
    Hi, Thanks Melissa
    May i know how i can get the difference between data action 1 and data action 2, is there any build in variable to get the difference of two timings in Second.

    ------------------------------
    annie Ng
    Accenture Company Limited
    ------------------------------