Skip to main content

Notifications

Announcements

No record found.

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 389
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.
  • 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
    389 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,884 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,760 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans