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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / For Each takes time to...
Power Automate
Answered

For Each takes time to get the Json Data from the Get Records action

(0) ShareShare
ReportReport
Posted on by 6

Hi,

 

For Each takes more times when constructing - json format data from the results of "List Rows" action. 

Requirement - On change of a record in D365 ,

Step 1- Get the records and its child values 

Step 2 - Save the results as file - abc.json 

 

PowerUser_One_0-1626883507980.png

IF i am updating the file as it is from the results of "List rows" it has so many unnecessary fields as below 

like transactioncurrencyid@odata.associationLink , navigationLink etc . how to filter these attributes.

PowerUser_One_1-1626883778905.png

If am using compose to create a json structure then that use for each which takes more than expected time. 

I have more than 2000 records to upload . 

----Which will be the best solution ? 

 

 

Categories:
I have the same question (0)
  • Verified answer
    Paulie78 Profile Picture
    8,422 Moderator on at

    After your list rows action go straight into a select action. Use the against the Value array from your list rows action, pick the columns you want and name them as you would like.

     

    Then use the output of the select to save to your .json file. The select should finish more or less straight away. You won't need any apply to each or compose actions.

  • PowerUser_One Profile Picture
    6 on at

    How to access a item present in array - below gives me null

    PowerUser_One_2-1626889166484.png

     

     

     

    PowerUser_One_0-1626888999583.png

     

  • Verified answer
    Paulie78 Profile Picture
    8,422 Moderator on at
    item()['baseamount']

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard