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

Community site session details

Session Id : jCQSYT3kYs4K4YgTz/QHuk
Power Automate - Building Flows
Answered

Update Quantity in Inventory List after "Approval" of Withdrawal

Like (0) ShareShare
ReportReport
Posted on 22 Jul 2025 08:44:40 by 54

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!

 
I have the same question (0)
  • stampcoin Profile Picture
    4,355 Super User 2025 Season 2 on 23 Jul 2025 at 09:04:23
    Update Quantity in Inventory List after "Approval" of Withdrawal
    Glad to hear that. Please choose the answer mark it as answered.😊
    Feel free to post a new one when you need help.
  • janiceXcruz Profile Picture
    54 on 23 Jul 2025 at 09:01:11
    Update Quantity in Inventory List after "Approval" of Withdrawal
    Genius @stampcoin. My heart is so happy! At last, it works! The quantity in the request form subtracts from the Masterlist. The final value in Masterlist updates. This is great. Thank you so much for the patience. I really appreciate it.

  • Verified answer
    stampcoin Profile Picture
    4,355 Super User 2025 Season 2 on 23 Jul 2025 at 07:33:59
    Update Quantity in Inventory List after "Approval" of Withdrawal
    Good thing is the formula of condition2 get true,😊.
    1. Please update the formula in Update Items as well.
        Make sure the formula doesn't use body/field_2 but field_2.
    2. Please remove the Compose, that was for debug before, you don't need it now.
     
     
  • janiceXcruz Profile Picture
    54 on 23 Jul 2025 at 07:14:23
    Update Quantity in Inventory List after "Approval" of Withdrawal
    Hi Sir @stampcoin
     
  • Verified answer
    stampcoin Profile Picture
    4,355 Super User 2025 Season 2 on 23 Jul 2025 at 06:41:14
    Update Quantity in Inventory List after "Approval" of Withdrawal
    Your get items output is correct.
    I doubt that empty function might be the killer.
    Do you mind changing your Condition2 formula to below one ? ( you can copy your current one and save it somewhere).
    Left inputbox type formula:
    int(first(body('Get_items')?['value'])?['field_2'])
    Right inputbox type formula:
    int(triggerBody()?['field_4'])
     
    similar like below screen shot, once you update the formula, test it.
     
     
  • janiceXcruz Profile Picture
    54 on 23 Jul 2025 at 06:24:45
    Update Quantity in Inventory List after "Approval" of Withdrawal
    Hi Sir @stampcoin. Thank you for not giving up on the newbie.


  • Verified answer
    stampcoin Profile Picture
    4,355 Super User 2025 Season 2 on 23 Jul 2025 at 05:46:38
    Update Quantity in Inventory List after "Approval" of Withdrawal
    That's not the output of Get Items, your screenshot is input of Get items.
     
    Another thing I noticed that your condition2 formula.
    could you please try to change from body/field_2 to field_2 ?
    update the formula, save and run 
     
  • janiceXcruz Profile Picture
    54 on 23 Jul 2025 at 05:37:48
    Update Quantity in Inventory List after "Approval" of Withdrawal
    Hi Sir @stampcoin
  • stampcoin Profile Picture
    4,355 Super User 2025 Season 2 on 23 Jul 2025 at 05:28:37
    Update Quantity in Inventory List after "Approval" of Withdrawal
    The reason is your condition2 get false , so it won't go to the update items.
    Something wrong with the condition2 formula or Get items
    If you switch to output of Get Items, can you see some result from output ?  
    Similar like my screenshot.
     
     
     
     
  • janiceXcruz Profile Picture
    54 on 23 Jul 2025 at 02:32:47
    Update Quantity in Inventory List after "Approval" of Withdrawal
    Hi Sir @stampcoin and Team, just got back. Please see below after latest instruction you gave. I myself couldnt pinpoint the missing link in my flow. It is success but the output in the Masterlist is not changing.
     
     
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 798 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 469 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 333

Last 30 days Overall leaderboard
Loading started
Loading complete