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

Announcements

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

How to get the element's dynamically from any appended array in power Automate?

(0) ShareShare
ReportReport
Posted on by 429
Hi,
 
I have a MS flow , Where I need to store the elements in an array and later on, I need to use this array to create the HTML table.
 
So for that I am appending the elements in an array and it's getting successfully appended, but after that as I am creating the HTML table using this appended array then flow giving the error /The property 'columns' must be specified unless the 'from' property value is an array of objects./  
 To overcome from this error I am trying to structure these array elements through the select property of /Data Operations/, but I am not getting a way to extract these elements from the /appended array/.
 
can you please suggest the way, how can I retrieve the elements from the array dynamically??
 
 
 
Below: I am trying to format the data through select operation
 
 
Now I just Need to know the expression to get the values from the appended Array.
I have the same question (0)
  • Suggested answer
    Dengliang Li Profile Picture
    Microsoft Employee on at
    Hi,
     
    Based on the information you provided, a similar MS flow was created for testing.
    The expression used in the Select action is as follows.
    json(variables('MyArray')?[0])?['Program Name']
    json(variables('MyArray')?[1])?['Entity Type']
    json(variables('MyArray')?[2])?['Entity Name']
    json(variables('MyArray')?[3])?['Document Type']



     
     
    I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
     
    Best Regards,
    Dengliang Li
  • Himanshu Kamboj Profile Picture
    429 on at
    Hi Li,
     
    I have tried it but it's giving the error.
     
    I have written the expression same as you suggested.
     
     
     
  • Dengliang Li Profile Picture
    Microsoft Employee on at
    Hi,
     
    The following are the modified expressions.

    json(variables('MyArray')?[0])?[0]?['Program Name']
    json(variables('MyArray')?[0])?[1]?['Entity Type']
    json(variables('MyArray')?[0])?[2]?['Entity Name']
    json(variables('MyArray')?[0])?[3]?['Document Type']
    json(variables('MyArray')?[0])?[4]?['Uploaded On']
     
     
    I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
     
    Best Regards,
    Dengliang Li
     

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 Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 56 Super User 2026 Season 1

#2
Eugen Podkorytov Profile Picture

Eugen Podkorytov 49

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 31 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans