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.cloudhttps://www.linkedin.com/company/star-telecom-www-startelecom-ca-/------------------------------