I want to trigger outlook mails, when the sharepoint list item's expiry date column is in next 30 days or 15 days (basically difference between today and expiry date).
Firstly I got the all items using Get Items action, and In apply to each , I'm using condition and expression I have set here is
Hi @apeawakening ,
Please check out your 'ExpiryDate' Column Internal Name.
For Example:
My Next_action_date Column:
When I changed its display name to 'ExpiryDate', its internal name was still 'Next_action_date'.
Here are the steps to view the internal name of a column:
When referencing the name of a column in an expression, reference the internal name of the column.
In addition to this, you have some problems writing expressions, please use items('Apply_to_each') instead of item() in the Apply to each loop.
Please try this expression:
div(sub(ticks(utcNow()),ticks(items('Apply_to_each')['InternalName'])),864000000000)
Best Regards,
Sunshine Gu
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2