cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Ability to push a completed To-Do task to a Teams Channel

Our business uses a company wide Team to provide updates that everyone in the business has access to. Part of our process is keep track of your own daily tasks/ accomplishments and provide updates in what we call a End of Day report. Currently this process is done via a Sales force task item that each employee updates at the end of the day. A report is then run compiling everyone's accomplishments and sent out in an email.

 

My hope would be to replace the email with a similar solution where completed tasks can be aggregated and posted directly to a team channel.

1 REPLY 1
v-yamao-msft
Community Support
Community Support

Hi @Anonymous,

 

Do you want to post Outlook tasks that were completed on Microsoft Teams?

Currently, we do have a trigger for Outlook tasks, when a task is completed. However, it can be used to monitor one specific task. If you want to monitor all the tasks automatically, please take the following flow for a reference.

I would use the following flow to get tasks that were completed, and completed date right equals to Today’s date.

It is triggered by a Button. You may change it to Recurrence so that it can trigger the flow automatically daily.

Add the action List all tasks.

Add a Condition to check tasks that Status is Completed, and CompletedDate is Today. Besides, for tasks that have not been completed, the CompletedDate field would be empty. We need to use the empty function to check if the CompletedDate field is empty or not, otherwise the code will return false.

The code could be configured likes below:

@and(equals(items('Apply_to_each')?['Status'], 'Completed'),equals(if(empty(items('Apply_to_each')?['CompletedDateTime']?['DateTime']),'',formatDateTime(items('Apply_to_each')?['CompletedDateTime']?['DateTime'],'yyyy-MM-dd')),utcnow('yyyy-MM-dd')))

Under the if yes branch, add the action to Post message to Microsoft Teams.

Image for your reference.

1.PNG

Please take a try with it and feel free post back if you need more help.

 

Best regards,

Mabel

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

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.

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.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (1,958)