Re: Scheduled Cloud flow with alternating Times based on the Week
I might have something for you. Since weeks are either odd or even numbered, and your schedule recurs every other week, one of them is always on an odd week and the other is even. You can use the following expression to tell if the current date is an odd or even numbered week:
if(equals(mod(add(div(dayOfYear(utcNow()),7),1),2),0),'Even','Odd')
Running this today would return odd, because it is the 19th week of the year. Depending on when you run the flow, you may need to adjust utc(Now() to add days so you get the correct week you want to set your OOO notification.
You can then use the output of the above expression in a Switch so the flow branches to send the correct message for that week.