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 / Update Quantity in Inv...
Power Automate
Answered

Update Quantity in Inventory List after "Approval" of Withdrawal

(0) ShareShare
ReportReport
Posted on by 74

Hi Team,

This is taking a toll on me — I’m very new to Power Automate and currently building a flow. I believe I’m almost there, but now I’m stuck and feeling confused.

The request falls under "NS Request", which requires management approval. Initially, the status is Pending, and once approved, I need the Quantity in the Request SharePoint list to be deducted from the Masterlist SharePoint list.

Please see my flow. Sometimes it runs successfully, but the Quantity in the Masterlist remains unchanged.

Can someone please help clarify this for me? If it’s not too much to ask, I’d really appreciate a step-by-step guide. The unique identifier I'm using is Oracle ID.

Thank you so much for your help — it’s highly appreciated!

 
Categories:
I have the same question (0)
  • stampcoin Profile Picture
    5,058 Super User 2025 Season 2 on at
    The code looks ok, might some tiny problem caused it.
    When you ran it successfully, did the second condition get true ? Need to know which steps it passed.
    do you mind providing a screenshot regarding test ? like the one as below.
     
     
  • janiceXcruz Profile Picture
    74 on at
    Hi Sir @stampcoin
     
  • stampcoin Profile Picture
    5,058 Super User 2025 Season 2 on at
    Could you please add one compose before condition2 ?
    use the formula as below:
    int(first(body('Get_items')?['value'])?['Quantity'])
    test it , and then check what value you get from the output, once you get the value , compare it will what you have in stock.
  • janiceXcruz Profile Picture
    74 on at
  • stampcoin Profile Picture
    5,058 Super User 2025 Season 2 on at
    Please add Compose, not another condition. input is the formula what I provided.
    then test it, check the output value.
     
  • Srini007 Profile Picture
    3,327 Super User 2025 Season 2 on at
     
    Can you share the output of the Get Items action for further checking your issue, you can hide sensitive information
     
    Thanks,
    Srini
  • janiceXcruz Profile Picture
    74 on at
    Hi @stampcoin, sorry I got confuse.
  • stampcoin Profile Picture
    5,058 Super User 2025 Season 2 on at
    Thanks for the feedback.
    seems the  output from your Get Items doesn't match the formula.
    Can you confirm that  your filter has correct name ?
    Your sceenshot shows Oracle ID of your list, did you rename the column of Oracle ID is different column ?
     
  • Srini007 Profile Picture
    3,327 Super User 2025 Season 2 on at
     
    The compose action is failing, which might be due to a value not being converted to an integer, this can happen if the value is null. If possible, could you expand the outputs of the "Get Items" action? 
     
    Thank you!
    Srini
  • janiceXcruz Profile Picture
    74 on at
    Hi Sir @stampcoin. I just rename the Title in the Masterlist as Oracle id, please see ss.

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard