I wrote the below compose formulas to try and filter out weekends. The first two worked (compose 1 & 3) but Compose 2 failed. Hoping someone can help me write it.
Compose - utcnow()
Compose 3 - dayOfWeek(formatDateTime(utcnow()))
Compose 2 - if( equals(dayOfWeek(formatDateTime(utcNow()),'4'),addDays(utcNow(),-3), addDays(utcNow(),-1)))