Building a Data Action that needs to distinguish weekdays from weekends for tracing context.
Using DateTimeDiff with dateFrom and dateTo returns the difference in days, but I need a boolean flag. GetDayOfWeek returns an integer (1-7).
Is there a cleaner expression syntax than nested IF statements to check if GetDayOfWeek(CurrentDateTime) > 5? The current logic feels verbose for a simple weekend check in the span attributes.