Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  DST boolean expression on resource center is not correct

    Posted 03-09-2023 11:43
    No replies, thread closed.

    Hey all, 

    Just a FYI regarding DST calculation in Architect, namely, Example 3 on this page DateTime values in Architect flows and Daylight Savings Time (DST) calculations - Genesys Cloud Resource Center
    The second expression that returns a boolean value if it's currently DST or not is not correct, as in showing that DST has started yesterday (instead of Sunday March 12th).
    We had some misfires on a client org yesterday due to this, so we created a bit of a different expression, that can be swapped out with the old one, and is working correctly in returning true/false based on DST rules. If anyone needs the expression here it is:

    If(Task.date_new>GetDayOfWeekOccurrence(1,2,year(GetCurrentDateTimeUtc()),3,7,0,0) and Task.date_new<GetDayOfWeekOccurrence(1,1,year(GetCurrentDateTimeUtc()),11,8,0,0),true,false)

    Cheers,


    #ArchitectureandDesign

    ------------------------------
    Nebojsa Radovanovic
    Star Telecom
    www.startelecom.cloud
    https://www.linkedin.com/company/star-telecom-www-startelecom-ca-/
    ------------------------------


  • 2.  RE: DST boolean expression on resource center is not correct

    Posted 06-22-2023 17:37
    No replies, thread closed.

    Did you submit feedback at the bottom of that page to bring it to the attention of Doc?



    ------------------------------
    George Ganahl GCP (Genesys Cloud), CCXP
    Principal PS Consultant
    Genesys
    ------------------------------



  • 3.  RE: DST boolean expression on resource center is not correct

    Posted 07-17-2023 10:14
    No replies, thread closed.

    Hi George, 

    I didn't submit this yet. Should I submit it at this point?



    ------------------------------
    Nebojsa Radovanovic
    Star Telecom
    www.startelecom.cloud
    https://www.linkedin.com/company/star-telecom-www-startelecom-ca-/
    ------------------------------