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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Approval Request Filte...
Power Automate
Answered

Approval Request Filtering

(0) ShareShare
ReportReport
Posted on by 45

Hello,

 

I am building a flow for our IT department that tracks changes made to our network environment. I need one of the steps to be an approval request that is sent to everyone in the IT team except the person who originally entered the change control entry (in a SharePoint list).

Is there any way to create an expression or function that stores the team's individual email account and filters them to send the approval requests to anyone that doesn't match the original item creator's email?

 

Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    @LBelo ,

    You can achieve this through the following steps:

    1) Create an array of all users

    2) Remove the user who created the request from the array

    3) Convert the array into string using Join function

    4) Provide the string in the "To" property of your Start and Wait for Approval action

     

  • LBelo Profile Picture
    45 on at

    I created the array with Initialize Variable. What function should I use to remove the email of the SharePoint item creator dynamically?

  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    @LBelo ,

    You can use the Filter function. Something like this

    SudeepGhatakNZ_1-1699323570899.png

     

  • LBelo Profile Picture
    45 on at

    This isn't working for me. 

    LBelo_0-1699546129332.png

    The creator's email matches the first in the array, I've made sure of it. What should the item() expression be looking for when the array is just a list of emails?

  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    It could be due to case mismatch. Add toLower() on both sides of the condition

     

     

  • Verified answer
    LBelo Profile Picture
    45 on at

    Was not a case mismatch but I was able to solve the issue by doing the following:

    LBelo_0-1699625962457.png

    Initialize variable with the User Email as the value.

     

    LBelo_1-1699626026292.png

    Use the Variable as the filter. 

     

    For whatever reason, setting the dynamic data as a variable string solved the issue, even though it's using the exact same email address. Go figure.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 293

#2
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 223 Most Valuable Professional

Last 30 days Overall leaderboard