What is the format of date in the excel file?
Convert Excel's date to a usable format in Power Automate
- formatDateTime(addDays('yyyy-mm-dd', int(item()?['Date of ASA'])), 'yyyy-MM-dd')
I coudln't able to understand the date time format because you have multiple conversion let me simplify
AND(
equals(item()?['Notified'], 'No'),
greaterOrEquals(
formatDateTime(addDays('yyyy-mm-dd', int(item()?['Date of ASA'])), 'yyyy-MM-dd'),
formatDateTime(addDays(utcNow(), -14), 'yyyy-MM-dd')
),
lessOrEquals(
formatDateTime(addDays('1yyyy-mm-dd', int(item()?['Date of ASA'])), 'yyyy-MM-dd'),
formatDateTime(utcNow(), 'yyyy-MM-dd')
)
)
If condition is failing, add this inside the "False" branch of the Condition:
concat(
'Condition False -> ',
'Notified: ', item()?['Notified'],
', Date of ASA: ', formatDateTime(addDays('yyyy-mm-dd', int(item()?['Date of ASA'])), 'yyyy-MM-dd'),
', Start Date Limit: ', formatDateTime(addDays(utcNow(), -14), 'yyyy-MM-dd'),
', Today: ', formatDateTime(utcNow(), 'yyyy-MM-dd')
)
Ensure Correct Email Formatting
concat(
item()?['Client''s Name'], ' - ',
formatDateTime(addDays('yyyy-mm-dd', int(item()?['Date of ASA'])), 'MM/dd/yyyy'),
'<br/>'
)
kindly check and revert back.