Forum Academy Marketplace Showcase Pricing Features

Schedule endpoint, not on weekends

Hi Bubblers,

I have an endpoint that sends an email that I would like to not send on the weekends. What might be a way to write the ‘only when’ expression to exclude saturday and sunday?

Thanks
JT

I think you could do 'only when current date/time :extract days is not 1 or 7 ( or maybe it’s 0 & 6) - you’d have to workout what day number Saturday and Sunday extract as.