Hi all,
I have a Sharepoint list that includes names, tasks, emails, and check-in times, as well as other columns not relevant to this issue. The check-in time column is a calculated field created from individual date, hour, and minute columns, so it can't be filtered directly through a filter query.
After using a filter array to filter for items where the current time is greater than the check-in time, I want to send an email for each item/person past their check-in time. Note that I also want the email subject and body to contain dynamic content, such as the task.
I originally tried using a filter array, and then directly going into an "apply to each" for each list item and sending an email. However, when the filter array didn't contain any items (i.e. nobody was past their check-in time), the flow never completed - it just ran endlessly. Because of that, I added a condition to only send an email if the filter array wasn't empty. The resulting flow looked like this.
Unfortunately, I have two problems now:
1. The flow never stops "running" and doesn't send any email notifications to individuals past their check-in times. (Note: the flow runs successfully if nobody is past their check-in time when it runs).
2. After using the filter array, I no longer have access to dynamic fields (such as the "tasks" field) in the email body.
I'd really appreciate any advice/insights!
