Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Update List using lookup field

(0) ShareShare
ReportReport
Posted on by 26

Hello,

 

Need help on creating scheduled flow:

Products List

Product Code

Product Name

Product Expiry

 

Orders List

Product Name(Lookup)

Product Code

Order Date

Quantity

 

Each Product Name has unique Product code.

 

I need to update Product Code in Orders list at regular intervals.  I tried to get help from this post but no luck so far. This is what i have tried so far and I am stuck at highlighted step below:

  • Define Interval
  • Get Items - Products List
  • Apply to each
  • Condition - To match item that needs to be updated
  • Update Item if condition matches

 

Thanks in advance.

 

 

  • Mira Ghaly Profile Picture
    11,409 Super User 2025 Season 1 on at
    Re: Update List using lookup field

    @kodnil2020 

    on the Filter Query Left side add the Column name in the orders table 

    Product_x0020_Name eq 'add the value from the Dynamics Content'

    Mira_Ghaly_0-1595757870278.png

     

  • kodnil2020 Profile Picture
    26 on at
    Re: Update List using lookup field

    @Mira_Ghaly ,

    I am getting below error on filter query:

    message""The expression \"Product1 eq items('Apply_to_each')?['Product_Name']?['Value']\" is not valid.
     
    Below is the screen shot of the flow:SS1.PNG

     

    SS2.PNG

     

    SS3.PNG

     

  • Mira Ghaly Profile Picture
    11,409 Super User 2025 Season 1 on at
    Re: Update List using lookup field

    @kodnil2020 

    Filter Query on Get Items as below:

    Mira_Ghaly_0-1595723452671.png

     

     

  • kodnil2020 Profile Picture
    26 on at
    Re: Update List using lookup field

    Can you please share some sample for filter query?

  • Mira Ghaly Profile Picture
    11,409 Super User 2025 Season 1 on at
    Re: Update List using lookup field

    @kodnil2020

    After retrieving your product list and in the first loop, make another Get Items action on the orders and add Filter Query: order product name column eq product name from the first loop this way you get all orders related to products.

    Then 2nd loop to update the product code to the product code from your product list first loop.

     

    If this helps you please mark as an accepted solution 

  • kodnil2020 Profile Picture
    26 on at
    Re: Update List using lookup field

    Hi @Mira_Ghaly

     

    1. How to match product name from 2 lists?

    2. What to mention in ID field to update the exact match?

    Capture.PNG 

  • Mira Ghaly Profile Picture
    11,409 Super User 2025 Season 1 on at
    Re: Update List using lookup field

    Hi @kodnil2020 

    So the step that you can't achieve is to update the product Code in the Order Record?

    Can you paste a screenshot of this step please ?

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1