Building a flow that checks if a case was updated within the last 24 hours but excludes weekends. The docs suggest DateTimeDiff for the hour check, but it returns a float. Casting to int truncates, which feels risky for boundary cases. GetDayOfWeek is straightforward for the weekend check. Is there a cleaner way to combine these without messy rounding logic in the expression builder? Here’s the current attempt:
DateTimeDiff(getDateTime("now"), getDateTime("case_updated"), "hours") >= 24
Feeling like I’m overcomplicating a simple filter.