Hi all
My first time building a flow. I have a Sharepoint list with dates (column (type 'Date and time') 'Datum/Date 2022' on page 'Themadagen Ziekten'). Now I want an email sent 14 days before a date in the list.
I tried building a 'scheduled cloud flow' based on https://powerusers.microsoft.com/t5/Building-Power-Apps/Sending-an-email-on-a-certain-sharepoint-lis... but it keeps failing...
Get Items is configured with the Site Address and List Name ('Themadagen Ziekten').
Next I have a nested 'Apply to each'. The mother 'Apply to each 2' contains just 'values'. The child 'Apply to each' contains 'Datum/Date 2022' with a condition attached to it (see powerusers link):
Solved! Go to Solution.
You Have to Enter Valid Internal Column Name After Apply to Each or Select Dynamically Where You Store Date in SharePoint List.
Try With Extra Compose,
Hi @KoenMarien,
Enter DateTime Column Name After Apply To Each.
If 'formatDateTime(items('Apply_to_each')?['Date Column Name'],'dd.MM')' equals '
formatDateTime(utcNow(),'dd.MM')
formatDateTime(items('Apply_to_each')?['Date Column Name'],'dd.MM')' equals '
formatDateTime(utcNow(),'dd.MM')
Please share the flow screenshot and clarify more on requirement If I misunderstood the requirement.
-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Hi @KoenMarien,
You Have Don't Neet to Use Apply to each in flow Just Use Apply to each2Where You Enter Value.
I have Created Sample for You.
Left Side
formatDateTime(items('Apply_to_each')?['Datum_x002f_Date'],'dd.MM')
Right Side
Output
I didn't work 😞
Please Send Me Both left and Right-Side Expression(code) That Use in Condition
Left Side Expression Is:
formatDateTime(items('Apply_to_each')?['Datum_x002f_Date'],'dd.MM')
Right Side Expression Is:
formatDateTime(utcNow(),'dd.MM')
And Please Also Check The get Item Action Return Any Value or Not
You Have to Enter Valid Internal Column Name After Apply to Each or Select Dynamically Where You Store Date in SharePoint List.
Try With Extra Compose,
User | Count |
---|---|
89 | |
41 | |
22 | |
20 | |
16 |
User | Count |
---|---|
138 | |
56 | |
47 | |
36 | |
26 |