Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  How are you working out in Architect how long until "closed"?

    Posted 09-12-2022 01:49
    No replies, thread closed.

    Just curious what you're doing within your Architect flows if you wanted to work out how many seconds until closure? I've been looking at getting the active schedule from an evaluate schedule group, then a data action to lookup that specific schedule to strip out just the close part of it, then considering doing a bunch of DateTimeDiff stuff but as usual there's problems with daylight savings etc but even trying to get that piece right is doing my head in 

    It seems like there should be a simpler way to find out just how long is left until the contact centre closes.

    Any tips or suggestions? Bonus points for any example flows you can attach  


    #Routing(ACD/IVR)
    #SystemAdministration

    ------------------------------
    Vaun Mccarthy
    ------------------------------


  • 2.  RE: How are you working out in Architect how long until "closed"?

    Posted 09-12-2022 09:39
    No replies, thread closed.

    You could evaluate the schedule group with a time in the future instead of the default current time.

    AddSeconds(GetCurrentDateTimeUtc(), 60) for example to see if it will be open in 60 seconds.




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



  • 3.  RE: How are you working out in Architect how long until "closed"?

    Posted 09-12-2022 15:39
    No replies, thread closed.
    Hmm thanks Melissa that's an interesting approach going that way around - I hadn't considered that.

    ------------------------------
    Vaun Mccarthy
    ------------------------------



  • 4.  RE: How are you working out in Architect how long until "closed"?

    Posted 09-14-2022 18:55
    No replies, thread closed.
    I second what Melissa said - for a long time I was building items with all sorts of manually programmed math around the current hour, minute, and even day of the week and it was ugly but functional... but that was before Architect had the 'evaluate schedule group' option.

    ------------------------------
    Brad Murlin
    Zillow, Inc.
    ------------------------------



  • 5.  RE: How are you working out in Architect how long until "closed"?

    Posted 09-14-2022 20:33
    No replies, thread closed.
    I agree Brad.  After what I had originally built - which does work - just doing an AddSeconds and evaulating it much easier for someone else to come along later and follow.

    ------------------------------
    Vaun Mccarthy
    ------------------------------