Genesys Cloud - Main

 View Only

Sign Up

Expand all | Collapse all

Queue Time

  Thread closed by the administrator, not accepting new replies.
  • 1.  Queue Time

    Posted 06-08-2020 08:10
    No replies, thread closed.
    Dear All ,

    I am trying for an expression to check queue wait time of the calls  for in-queue call flow 

    for example decision expression : Queue.wait >= 20 minute  [Yes = Disconnect ] [ No Play prompt ]


    Quick response will be highly appreciated 


    Regards
    #Routing(ACD/IVR)

    ------------------------------
    Noufal Ibrahim

    ------------------------------


  • 2.  RE: Queue Time

    Posted 06-08-2020 08:43
    No replies, thread closed.
    Call.EstimatedWaitTime > MakeDuration(0,0,20,0,0)

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



  • 3.  RE: Queue Time

    Posted 06-09-2020 02:33
    No replies, thread closed.

    Hi Melissa ,

    Thank you for quick response ,  Call.EstimatedWaitTime > MakeDuration(0,0,20,0,0)  is actually checking what is expected time to accept the call  and checking is it 20 minute .

    i am trying to t make queue waiting time threshold , call waiting time in queue is 20 min then disconnect  . a call waiting since long time we have to close

    like threshold or maximum waiting time in a queue  



    ------------------------------
    Noufal Ibrahim
    SMASCO
    ------------------------------



  • 4.  RE: Queue Time

    Posted 06-09-2020 09:42
    No replies, thread closed.
    GetCurrentDateTimeUtc() > AddMinutes(Flow.StartDateTimeUtc, 20)

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



  • 5.  RE: Queue Time

    Posted 06-10-2020 03:10
    No replies, thread closed.
    Tried this also but no luck

    ------------------------------
    Noufal Ibrahim
    SMASCO
    ------------------------------



  • 6.  RE: Queue Time

    Posted 06-10-2020 09:18
    No replies, thread closed.
    Define "no luck"

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



  • 7.  RE: Queue Time

    Posted 06-11-2020 05:20
    No replies, thread closed.

    Hi ,

    No Luck in the sense , It is not working .. and could not find any other expression to match .

    this is the most common used thing in Queue but still  i am searching any expression or task to achieve it .



    ------------------------------
    Noufal Ibrahim
    SMASCO
    ------------------------------



  • 8.  RE: Queue Time

    Posted 06-11-2020 07:06
    No replies, thread closed.
    Noufal, perhaps you can post a screenshot of the In-Queue Call flow logic you are using to help everyone understand exactly what is not working. Having the expression is one thing, how you use it in the flow logic determines whether or not it achieves what you want.

    ------------------------------
    George Ganahl GCP (Genesys Cloud), ICCE
    Principal Technology Consultant
    Genesys
    ------------------------------



  • 9.  RE: Queue Time

    Posted 06-11-2020 09:03
    No replies, thread closed.
    In addition to George's request for a screen shot, one of the things I find useful in these scenarios is to store the data you are using in participant data using the SET PARTICIPANT DATA Action. Store the individual components of an expression along with the output.

    Once your placed a test call grab the interaction ID from the Performance View and use the API Explorer Conversation API

    Based on the fact you want to check assumes the in queue flow has a loop that will either play a prompt or loop for x seconds then check.

    For my test I set three attributes to capture the data and allow checking.

    Flow.StartDateTimeUtc
    AddMinutes(Flow.StartDateTimeUtc, 20)
    if((GetCurrentDateTimeUtc() > AddMinutes(Flow.StartDateTimeUtc, 20)),"OLD","OK")


    Conversation



    ------------------------------
    Richard Chandler
    Connect Managed Services
    ------------------------------



  • 10.  RE: Queue Time

    Posted 06-11-2020 09:12
    No replies, thread closed.

    Hi George ,

    Appreciated your attention on this and attached screenshot for requested , 
    an example : voice call - entered to queue - 2 minutes prompt played - loop - check is crosses 20 min-  if not - 2 prompt -loop-check is cross ....... if yes sorry prompt disconnect 





    ------------------------------
    Noufal Ibrahim
    SMASCO
    ------------------------------



  • 11.  RE: Queue Time

    Posted 06-11-2020 10:28
    No replies, thread closed.
    Noufal,

    The screenshot shows you using Call.EstimatedWaitTime as the value to check. That won't work. You need to try with the second expression Melissa sent you, GetCurrentDateTimeUtc() > AddMinutes(Flow.StartDateTimeUtc, 20)

    ------------------------------
    George Ganahl GCP (Genesys Cloud), ICCE
    Principal Technology Consultant
    Genesys
    ------------------------------



  • 12.  RE: Queue Time

    Posted 06-12-2020 08:12
    No replies, thread closed.
    Noufal, you let me know that you have tried the second expression as well.

    So, looking at the structure that I can kind of see behind the expression in the foreground, it looks like you just loop through 2 minutes of prompts multiple times. If that is the case, modify the loop so it repeats 9 times (so, plays the prompts 10 times which equals 20 minutes). After it breaks out of the loop play your apology and disconnect.

    ------------------------------
    George Ganahl GCP (Genesys Cloud), ICCE
    Principal Technology Consultant
    Genesys
    ------------------------------



  • 13.  RE: Queue Time

    Posted 06-14-2020 02:20
    No replies, thread closed.
    Hi George ,

    GetCurrentDateTimeUtc() > AddMinutes(Flow.StartDateTimeUtc, 1) this is what i am testing , but its not matching the expression . can you please tell is there any specific way to find queue time as it has queue position .


    Note : We all know it is commonly used in any call center system

    ------------------------------
    Noufal Ibrahim
    SMASCO
    ------------------------------



  • 14.  RE: Queue Time

    Posted 06-16-2020 02:45
    No replies, thread closed.
    Hi , 

    Kindly required support to achieve this

    ------------------------------
    Noufal Ibrahim
    SMASCO
    ------------------------------



  • 15.  RE: Queue Time

    Posted 06-17-2020 02:56
    No replies, thread closed.
    Export your flow and post it here. Someone may be able to figure out what is not configured correctly.

    ------------------------------
    George Ganahl GCP (Genesys Cloud), ICCE
    Principal Technology Consultant
    Genesys
    ------------------------------



  • 16.  RE: Queue Time

    Posted 06-18-2020 02:53
      |   view attached
    No replies, thread closed.
    Hi 

    Kindly find attached , and required your  valuable advices.


    Note : rename file extn as ".rar"

    ------------------------------
    Noufal Ibrahim
    SMASCO
    ------------------------------

    Attachment(s)

    txt
    INQUEUE.txt   12 KB 1 version


  • 17.  RE: Queue Time

    Posted 06-18-2020 03:26
    No replies, thread closed.
    Hi Noufal

    I've taken a quick look at your flow.  I may be wrong in the few minutes I did look through it but here's what I picked up.

    The loop piece is going to do this - assuming call flow started 12:00

    Loop 1  - Current Time - 12:00 - AddMinutes check value 12:01 = No Path
    Loop 2 - Current Time - 12:00 - AddMinutes check value 12:01 = No Path
    Loop 3 - Current Time - 12:00 - AddMinutes check value 12:01 = No Path

    Loop count is only 3 so at this point it's going to continue on to the rest of the flow.  Depending on how long those prompts are you have playing on the No Path there doesn't seem to be any logic to actually allow for the call to queue long enough to reach that threshold.  Assuyming you have the EWT Switch object at the top for testing then you could delete that and also delete the disconnect connected to the No path so the in-queue flow loops back to the top anyway.  If you do want those EWT prompts to play then you can put a variable in place that's set after those are played, and have a check done BEFORE they would play to see if that variable has been set or not.  On each subsequent loop it will ignore the prompt because you've set that variable on the first loop already.

    ------------------------------
    Vaun McCarthy
    NTT New Zealand Limited
    ------------------------------



  • 18.  RE: Queue Time

    Posted 06-21-2020 03:21
    No replies, thread closed.
    Hi ,

    My concern is very simple and it is most common , to have a queue waiting threshold . above proposed one not working . below is the my scenario

    call routed to queue - started to play music [ 1 min ] went loop back  to check is queue wait time is 20 min if no play prompt again , if yes disconnect .

    ------------------------------
    Noufal Ibrahim
    SMASCO
    ------------------------------



  • 19.  RE: Queue Time

    Posted 06-21-2020 19:56
    No replies, thread closed.
    Hi Noufal,

    Melissa's expression should work.

    If you want to check how long the call is in the queue you can use this:
    DateTimeDiff(GetCurrentDateTimeUtc(),Flow.StartDateTimeUtc)​


    ------------------------------
    Paulo Mesquita
    Spark NZ Trading
    ------------------------------



  • 20.  RE: Queue Time

    Posted 06-23-2020 07:36
    No replies, thread closed.
    i really wish it would be work , but it is not . the flow has been attached , is anyone tried what is the  missed item

    ------------------------------
    Noufal Ibrahim
    SMASCO
    ------------------------------



  • 21.  RE: Queue Time

    Posted 05-23-2021 18:48
    No replies, thread closed.
    HI Noufal,

    I guess this should already have been solved for you. But as I came across this post and wanted to contribute what and how this works for me. You shouldn't be using a loop action here in, it's not necessary. Without loop it works fine for me.

    GetCurrentDateTimeUtc() > AddSeconds(Flow.StartDateTimeUtc, 60)

    ------------------------------
    Asad Saqlain
    Frontline Solutions
    ------------------------------