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 :
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 421
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)
  • Dengliang Li Profile Picture
    Microsoft Employee on at
    How to get the element's dynamically from any appended array in power Automate?
    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
     
  • Himanshu Kamboj Profile Picture
    421 on at
    How to get the element's dynamically from any appended array in power Automate?
    Hi Li,
     
    I have tried it but it's giving the error.
     
    I have written the expression same as you suggested.
     
     
     
  • Suggested answer
    Dengliang Li Profile Picture
    Microsoft Employee on at
    How to get the element's dynamically from any appended array in power Automate?
    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

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 141

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 132

#3
DAnny3211 Profile Picture

DAnny3211 130

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans