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 / how to show output of ...
Power Automate
Answered

how to show output of "List Row Present in a table"

(0) ShareShare
ReportReport
Posted on by 235

Hi, I have a flow that triggers when file is loaded on share point library. 

 

Flow: Get's file -->Creates Table-->Gets Table -->Uses an action "List Row Present in Table" 

 I want to append this Data to my list on sharepoint. Before I add the data to the list, I am using "Compose" action to test what outputs look like. In the input section of "Compose" action - (Dynamic Content) I was expecting to see "List Rows Present in a table" where I would choose the columns I created earlier. However, I only see "Current Item" option (as in image 2 below).

 

Summary: I just want to show the output of "List Rows Present in Table" before I can add it to list. 

 

Sorry for being so confusing lol! 

 

 

tanveal_1-1671143712677.png

 

 

tanveal_2-1671144047259.png

 

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @tanveal ,

     

    We can't get the return value of the action inside the loop outside the loop , but we can use variables to pass values.

     

    1\Initialize a variable of type array before executing the loop.

    2\Assign a value to this variable in the loop

    3\Call this variable outside the loop

     

    Best Regards,

    Bof

  • tanveal Profile Picture
    235 on at

    thanks, should I initialize the variable after "get tables" action? and does the name of the variable be same as "table name" ?

  • hongdet Profile Picture
    133 on at

    *EDIT START*

    Sorry! I think I misread your requirement, please refer to answer provided by @v-bofeng-msft . Don't let mine confuse you 😛  

    *END EDIT*


    Hi @tanveal ,

     

    Yes indeed, your flow does look quite weird. 

     

    I don't think you should even place a "List rows within a table" inside an "Apply to each". It doesn't make too much sense I guess to get all the row over and over again. The "List rows within a table" action would have already obtained all the row within the table and get it ready to be used. 

     

    If you would like to identify a specific row to be updated, simply add a "Update a row" action.

     

    • Key Column <- The column you need to select needs to contain something unique (eg. Serial Number Column)
    • Key Value <- The value that you would like it to do the lookup (eg. Serial Number) 

    hongdet_1-1671159872707.png

     

    Hope I get your question right 🙂

     

    BR,
    hongdet

    _________________________________________________________

    If I have answered your question, please mark your post as SOLVED.

    Solved questions helps users in the future who may have the same issue or question quickly find a resolution via search.

    If you liked my response, please consider giving it a THUMBS UP. Thank you! 

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @tanveal ,

    Should I initialize the variable after "get tables" action? 

    vbofengmsft_0-1671160793765.png

     

    and does the name of the variable be same as "table name" ?

    NO, that is not necessary.

     

    Best Regards,

    Bof

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 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard