Skip to main content

Notifications

Community site session details

Community site session details

Session Id : p5rW63DpvJcaOl7JxlPavS
Power Automate - Building Flows
Answered

Flow to Email users based on Sharepoint List Column Value.

Like (0) ShareShare
ReportReport
Posted on 30 Aug 2022 16:18:22 by 12

Hi All,

So basically we have a Inventory system using Sharepoint List and it works great for what it is needed for but im trying to help with Admin time.

Im looking to Power Automate to Scan to the Sharepoint list and if a particular "Entry" in this List and its Value in Column A (Device Location) & Column B (Device Status) = XXXX location & XXXX Device Status = a "Certain Value / String" then if these 2 "conditions are met" for an entry then send an email to XXXXXX etc.

Flow Currently:

vSmithyyy_0-1661875965537.png


I have tried setting the "limit Columns by view" shown below to the "True Names" of the List Columns i want it to look at but no matter what i do the flow works perfect but it tells me about any changes to the Entry even they do not match the "conditions" it has met set in the flow...

Example: &Field=Location for the location in "column a"

 

vSmithyyy_1-1661876036286.png

Btw both columns are "choice" / Dropdown Menu's with pre defined things to select.
I have also saw that i may need to use this in the condition box':

@equals(triggerBody()?['Location']?['Value'],'XXXXXX Location')

But im unsure if i need to add the second column into that line or i add as 2 separate entries

Im very new to Power Automate so go easy on me!
Any Ideas?

Kind Regards

 

  • Verified answer
    v-peijunz-msft Profile Picture
    Microsoft Employee on 02 Sep 2022 at 07:54:46
    Re: Flow to Email users based on Sharepoint List Column Value.

    Hi @vSmithyyy,

     

    Do you want to filter two of your choice column --- Location and Device Status?

     

    Based on your description, I have made a simple test for your reference.

    1. In my SP list, there are two choice columns --- Location and Device Status:

    vpeijunzmsft_0-1662105199466.png

    2. To filter the Location is US and Device Status is Dispose, here is my flow:

    vpeijunzmsft_1-1662105199477.png

    vpeijunzmsft_2-1662105199480.png

    3. Result screenshots:

    1). When I change the first record that Device Status changes from Recycle to In use, it does not match the condition: Location is US and Device Status is Dispose.

    vpeijunzmsft_3-1662105199486.png

    Then the condition is false and skip to send an email.

    vpeijunzmsft_4-1662105199488.png

    2). When I change the first record  that Device Status to Dispose, it matches the condition I set.

    vpeijunzmsft_5-1662105199490.png

    Then the condition is true:

    vpeijunzmsft_6-1662105199492.png

    And I received the email:

    vpeijunzmsft_7-1662105199492.png

     

    Best regards,

    Sylvia

  • vSmithyyy Profile Picture
    12 on 30 Aug 2022 at 17:13:14
    Re: Flow to Email users based on MS List Column Value.

    I have Tried editing my "condition" to the following:

    vSmithyyy_1-1661879521277.png


    Expression 1 (Location:)   equals(triggerBody()?['Location'], bool('Office Inbound'))
    Expression 2 (Device Status:) equals(triggerBody()?['Device_x0020_Status'], bool('Tech Assessment Repurpose / Dispose'))

    But i get the error below:

    vSmithyyy_0-1661879478173.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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,700 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard
Loading started