web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Azure Devops get 5 que...
Power Automate
Unanswered

Azure Devops get 5 query results then email assigned to/owner with query results

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have the flow working for a single query. When the scheduled recurrence happens, it goes to ADO and gets query results for "Missing Target Date", counts the total items, then select the "ID"s and creates a table of the items, I fix/format some string values to get a clean list of "Assigned To" then I remove the duplicates so it's a single list of names/emails. 

 

From the output of my "RemovedDupes" email variable, I run an Apply to Each loop, then filter the array through each item, I then build another table of the items that are specific to each person, I run a few other string formatting steps to clean up the email address/assigned to field, and the final step of the loop is to send an email to the individual. 

 

This works perfect for 1 query, each person receives an email with all of the items that are "Missing Target Date".

 

For the next version of this flow, I'm trying to add a few more queries: "High Risk Items" and "Past Due Items" etc, so the individual receives a single email with 1-5 tables "if" their names are included in the list/queries "Assigned to".

 

I built an additional 4 branches with the same logic, but I don't quite understand how to combine the branches into a single loop

 

Has anyone done this before? Have any advice?

BordFronco_0-1670449547119.png

this is the loop that sends the email

BordFronco_1-1670449588399.png

email sent:

BordFronco_2-1670449962792.png

work in progress with 5 queries on branches, and 5 apply to each steps (I need 1 apply to each, but confused on how to set up)

BordFronco_3-1670450030283.png

 

 

 

Categories:
I have the same question (0)
  • ntailor Profile Picture
    9 on at

    Hi, Are you able to provide a screenshot of your original flow for emailing the results to the assigned to for 1 query. I am doing something similar and want to see how you built yours. Sorry, that I am not able to provide insights on your original question but I thought I'd reach out. 

    Specifically this part of your flow

    ntailor_0-1695869862234.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard