Microsoft Flow – How to find your overdue tasks?

Today I was asked how to get Tasks that are due in a SharePoint task list. In SharePoint tasks are nicely marked red when they are due, but to query the tasks by due date in Flow is slightly harder, or maybe it is not that difficult after all. In this post I describe the 2 steps. I could have done this in 1 step, but it is easier to explain things when I use 2.

In Flow I can use the following 2 steps

For the basics about OData Queries, please see my post about OData Queries in the Get Items action

The Today variable is initialized with the following expression

formatDateTime(utcNow(), 'yyyy-MM-dd')

and this variable is then used in the filter query of the get items action:

DueDate lt '@{variables('Today')}'





Please leave a comment or feedback

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.