cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
m-s
Regular Visitor

Beginner question: Check all Microsoft To-Do daily for the latest change

Hello everyone

I want to prevent a task from remaining unedited for too long and therefore write a flow that checks all Microsoft To-Do tasks to find the X days have not been changed.
The Microsoft To-Do Connector knows "lastModifiedDateTime" that should be the right thing to do, but how do I check all tasks in one go?

Can someone me in the right direction.

 

m-s

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @m-s ,

 

Please try to refer to the following method. Output by Compose is the link to the task.

77.PNG

Hope this helps.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-bacao-msft
Community Support
Community Support

 

Hi @m-s ,

 

You could refer to the following expression to filter tasks.

For example, filter out tasks that have not completed and have not changed in seven days.

48.PNG

@and(lessOrEquals(formatDateTime(item()?['LastModifiedDateTime'], 'yyyy-MM-dd'), addDays(utcNow(), -7, 'yyyy-MM-dd')),not(equals(item()?['Status'], 'Completed')))

Please take a try and feel free to let us know if you have any other questions.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello @v-bacao-msft,
Thank you for the quick reply.

 

It took me a while to understand that you used the Outlook tasks for Outlook as a connector instead of the Microsoft To-Do connector.

Yesterday, execution stalled, maybe an error or generated too many mails, but this morning at the set time the tasks were searched and sent me corresponding mails.

So first of all, thank you very much.

 

I have one more question. Can I include a link to the corresponding task in the mails so that I can access it directly from the mail?

I'd love to use that in other flows, because then there's a link to a mail in a task, or to a OneNote page.

Is there a system for how the links are composed?

 

m-s

v-bacao-msft
Community Support
Community Support

 

Hi @m-s ,

 

Please try to refer to the following method. Output by Compose is the link to the task.

77.PNG

Hope this helps.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-bacao-msft
Thank you again.

When I first called a url created like this, I had an English-German mixed page of To-Do.
But that was probably only because I wasn't logged in.

 

Otherwise, it works exactly as expected, even if I think it's a pity that the website is always called instead of the software.

In any case, with the "flow" I can think about how to let the tasks signal to me, because at the moment I get more old tasks reported than I could watch in a day 🙂

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,481)