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 Apps
Unanswered

Stock Monitor

(0) ShareShare
ReportReport
Posted on by 65

I have a SharePoint list with a laptop model column and a status column and I want to set up power automation so that if a specific laptop model's status has only one in stock it then emails me, how can I do this I have tried soo many times no luck.

 

Example List

Motomoto_0-1677860667799.png

So I want an email every time the G9 status choice has only one In stock choice in the SP list like the table below.

Below is what I did but no luck 

Motomoto_1-1677860918998.png

 

 

Categories:
I have the same question (0)
  • SebS Profile Picture
    4,616 Moderator on at

    @Moto-moto 

     

    you missing an action

     

    Trigger -> Get Item -> Condition ->Email

     

    After trigger add get Items and than use that Get Items to populate your Condition

     

      

  • iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on at

    In your first flow condition, you have a check for 'HP ProBook 440 G9', but your list has values 'G9', so that won't be equal.

     

    You can also expand the 'when an item' action when looking at the flow run to see what inputs were involved, which will show you the values that it is comparing against

  • Moto-moto Profile Picture
    65 on at

    g9 is an example, not the actual list of items but similar scenario

  • iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on at

    Ok, thanks for confirming, so what does your flow run say about what the edited item's details were?

  • Moto-moto Profile Picture
    65 on at

    Motomoto_0-1677862461920.png

    what needs to go into the Limit entries... and the include.... and is this the action needed

  • Moto-moto Profile Picture
    65 on at

    no it doesn't run

  • SebS Profile Picture
    4,616 Moderator on at

    @Moto-moto 

     

    Ok, from Start then

     

    If You don't have Experimental futures already On put them on that will help you with what we do next:

     

    SebS_0-1677863114865.png

     

     

    Now in your Get Items action expand Advance Settings

     

    You should see there Filter Query similar to screen below ignore my staff

     

    SebS_1-1677863205988.png

     

    Set the Query to your needs similar what you did in your condition

     

    now in the condition place this code

     

     

    length(outputs('Get_items')?['body/value'])

     

     

    it should look like this :

     

    SebS_2-1677863377433.png

     make sure to fallow screen to set rest of the condition

    See if that will resolve your problem

  • iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on at

    at all?

    So there's no failed flow runs from when you edit an item in the list?

    image.png

     

    Can you confirm the flow is turned on?

    Also is the 'when an item is modified' pointing at the right site and list?

  • SebS Profile Picture
    4,616 Moderator on at

    @Moto-moto 

     

    If nothing works @iAm_ManCat is correct check if flow is successful than if it is click on it and check the run check if Get Items pull any data if it not pull any means the filter / Condition is wrong cause if the record with the set up condition exist it should be retrieved from SharePoint List.

     

    Also trigger on it's own should Trigger on modification so you should see running flow and status of it.

     

     

     

     

  • Moto-moto Profile Picture
    65 on at

    it runs but i don't get any email notification

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard