Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Unable to Append the API data to an array using Apply to each in flow

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi team,

Our aim is to get some data from the API based on some filters and store it in a collection in the PowerApps.

Below are the steps we used in the flow:

1. Used Execute a query control to fetch the rule ids from the database based on a case number value.

2. Used Apply to each control to iterate over these rule ids.

   a. Pass this rule id into the API to fetch the data (the data might be some 3-6 rows).

   b. Do some manipulations on the array data.

   c. Append this data to an array.

3. Send this data as a response to the PowerApps.

 

We are unable to achieve our results from the step 2 b . 

Could anyone help us on this issue?

 

Thanks in advance 

  • JohnAageAnderse Profile Picture
    1,986 on at
    Re: Unable to Append the API data to an array using Apply to each in flow

    Hello @niteesha 

    Did you find a solution to your need or is the question still relevant?

    Would be good to show us the details of your flow, especially steps 2a,b,c - that way we may better be able to assist.

    Kind regards, John

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,635 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow