Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Assign Approvers by Filtering a SharePoint List

(0) ShareShare
ReportReport
Posted on by

I know the title may be a little confusing, so I will do my best to explain this issue in detail here.

Use Case: Tracking engineering projects and submitting them for approval.

 

I have one SharePoint list named "Project List" that contains details for each project as separate line items.

I have a second SharePoint List named "Approvers" that contains the names of each approver for each location. The "Approvers" column in this list is set to "Person".

I created a flow from "Project List" that is triggered by "For a selected item". The people that need to approve each project change based on the location of the project, as well as the project size. How can I automatically populate the "Assigned to" field with the emails of only those people pertinent to the selected project?

 

pertinent "Approvers" list column headers: Approver Role (single line of text), Approver (person), Site (single line of text), Level (number).

pertinent "Project List" column headers: Cost (currency), Site (single line of text)

 

I need to select all approvers that meet the following criteria and add their emails to the approval action:

- They are an approver for the same site as the selected item from "Project List"; Site (from "Approvers") = Site (from "Project List")

- Their Level (from "Approvers") is < the Cost (from "Project list")

 

How do I return a list of semicolon separated emails from "Get items" that I can add to the "Assigned to" field in the approval stepImg6.PNGImg7-edit.pngImg1.PNGImg2-edit.pngImg3-edit.pngImg4-edit.pngImg5-edit.png?

  • Amit_Sharma Profile Picture
    1,569 Super User 2024 Season 1 on at
    Re: Assign Approvers by Filtering a SharePoint List

    Hi @seleff ,

    I Have Created Sample For you,

     

    1. The Trigger Action Is For a selected item Which Trigger When Someone Select Any Particular project.

     

    Amit_Sharma_0-1671270781126.png

     


    2. After That Use Get Item (Get item Project List) Action Which Return Details of Selected Row from Project List.

    Amit_Sharma_1-1671270860503.pngAmit_Sharma_2-1671270884205.png

     

    3. After that Use Get Items (Get items Approvals) Action which Return Details of Approvals according to given condition.

     

    t1.png

     
     
     
     
     

    t3.png

     

    4. After that initialize variable and select type is string.

    t4.png

     


    5. Then Use Apply to each Action and pass body that return by get approvers action.

     

    t5.png

     

    6. In Apply to each Action Use Appen to String variable Action and pass Approver Email Dynamic value that return by get approvers action and enter semicolon(;) .

     

    t6.pngt7.png

     

     

    7. After That use Start and wait for an approval Action and pass variable value in Assigned to Field.

     

    t8.png

     

    Complete Flow

     

    t9.png

     
    -----------------------------------------------------------------------
    Did I answer your question? Please Mark my post as a solution
    If you liked my response, please consider giving it a thumb up
     
  • Amit_Sharma Profile Picture
    1,569 Super User 2024 Season 1 on at
    Re: Assign Approvers by Filtering a SharePoint List

    Hi @seleff Could you Show me Both Share Point List Picture, I Will Create sample for you.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1