Genesys Cloud - Main

 View Only
Discussion Thread View
Expand all | Collapse all

How to get the Current UTC time in same iteration in in-queue flow

  • 1.  How to get the Current UTC time in same iteration in in-queue flow

    Posted 12 days ago

    Hi,

    Hope everyone is doing well.

    We have built our custom logic to increment the priority, while they are in queue (in-queue flow). But observing the below issues;

    Beginning of in-queue flow GetCurrentDateTimeUtc() method returned 2024-04-18T15:29:09.727Z as date & time and after a minute (execution of few blocks / objects)  when we retrieve GetCurrentDateTimeUtc() then also returned 2024-04-18T15:29:10.291Z as date & Time. If you see the difference it is just few milliseconds (approx. 500 ms) but actually a minute was crossed. Do any one know why?

    Regards,

    Lakshmanakumar Krishnasamy


    #Routing(ACD/IVR)

    ------------------------------
    Lakshmanakumar Krishnasamy
    Infosys Limited
    ------------------------------


  • 2.  RE: How to get the Current UTC time in same iteration in in-queue flow

    Posted 8 days ago

    Are you writing that value out as participant data just before and after the blocks in question?  It should show exact time at those insertions.  



    ------------------------------
    Robert Wakefield-Carl
    ttec Digital
    Sr. Director - Innovation Architects
    Robert.WC@ttecdigital.com
    https://www.ttecDigital.com
    https://RobertWC.Blogspot.com
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources