Hallo,
i am trying to write an expression but i keep messing this up..
I want the expression to check in a recurrent flow, whether today is Monday Or Tuesday.
I initiate 2 variables
if(equals(dayOfWeek(utcNow()),1),true,false)
if(equals(dayOfWeek(utcNow()),2),true,false)
So if it is Monday or Tuesday then skip weekends since i want a reminder to be sent after 48 hrs from a specific Date.
I am not sure how to write an expression that uses both 'equals' 'or'.
If(or(equals(variables('var_isTuesday'),(variables('var_isMonday'),true),'This is true','This is false')
my first attempt was the following but it is not working.
if(equals(variables('var_isMonday'),true),addDays(formatDateTime(utcNow(),'yyyy/MM/dd'),-4),if(equals(variables('var_TodaysDay'),2),addDays(formatDateTime(utcNow(),'yyyy/MM/dd'),-4),
addDays(formatDateTime(utcNow(),'yyyy/MM/dd'),-2)))