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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Creating A workflow ba...
Power Automate
Suggested Answer

Creating A workflow based on Lists

(1) ShareShare
ReportReport
Posted on by 23
Hello Everyone,
 
I am really in need of help.
I have two lists (inventory and orders) in a channel (inventory management). Inventory has 72 rows and 15 columns while orders list has 216 rows and 12 columns. 
I want to create a scheduled workflow in which all information from these two lists will be retrieved into an xlsm file. 
I have done these ways:
1. recurrence
2. get items- inventory
3. get items - orders
4. create a file
5. add a row into table. 
 
but these actions seem likely not to work.
Can anyone actually give the right steps?
I am okay with the raw action steps.
Screenshot 2024-08-04 143325.png
Screenshot 2024-08-04 151651.png
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,969 Moderator on at
    Hi,
     
    Why would they not work?
     
    1) You haven't explained exactly the format you would want since you said a single file. Are there columns with the same name? Let's assume not
     
    2) You don't explain the relationships, so how are you going to combine the 72, with 216 since they are not a 1:1 match??
     
    3) you don't explain if Inventory will have a 1:M relationship with Orders??? so are you printing multiple Rows, that duplicate inventory?? Or does each row in an 
    order near to find the inventory..
     
    4) make a CSV file and open it in Excel, don't worry about it being XLSM
     
    So much missing
     
    Without the knowledge of how they 2 lists connect, its impossible to give you specific details, but here are the raw steps
     
     
     
    1. Create Schedule Flow
    1.b Create an Array or a string (array works better) just make it null to start
    2. Get items from the list that you want to FIND if the other list has data for it.
    Let's assume its Orders
     
    3. Do an Apply to each
    3a. Do a Get Items, but with a Filter, using the ID from #2, that allows you to find the Inventory row
    3b. Append the row of data (from both Get Items) onto the Array you created
     
    4. When the Apply to each is done do a Create File (SharePoint or One Drive) with the content being the Variable
     
    Done
     
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard