cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
elaut
New Member

Flagged email Outlook tasks: how to find task related to flagged email?

Hi

 

I'm trying to identify the outlook created task associated with the email that I flagged. How do I go about this using power flow?

 

Here is what I want to achieve:

  1. When I flag an email in Outlook, I want to move it to a To-Do folder. I've accomplished this using the "When an email is flagged" trigger. 
  2. Once I have processed the email in the To-Do folder and marked it as completed, I want it to be automatically archived. In order to accomplish this, I was going to use the "When a task is completed" trigger, however, this trigger requires me to register it with the task I want to be monitored. That makes perfect sense as it does follow good coding practices, essentially in line with the observer pattern. However, my challenge is identifying the tasks associated with the flagged email in order to be able to register the trigger. 

If you have come across this challenge previously and have been able to solve it, I would be grateful if you could share your solution with the community. 

 

Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @elaut,

 

It's recommended that store the Email message ID into the task when a new task created.

If an email flagged, using the message ID to find the associated task by using list tasks + filter array, then move the task.

 

Best Regards,
Community Support Team _ Lin Tu
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

1 REPLY 1
v-litu-msft
Community Support
Community Support

Hi @elaut,

 

It's recommended that store the Email message ID into the task when a new task created.

If an email flagged, using the message ID to find the associated task by using list tasks + filter array, then move the task.

 

Best Regards,
Community Support Team _ Lin Tu
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

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (2,369)