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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Getting an array from ...
Power Apps
Unanswered

Getting an array from PowerAutomate: gives empty record

(0) ShareShare
ReportReport
Posted on by 2 Moderator

Hello,

 

I feel a bit stupid because I don't get what's going on.

I'm trying to get an array of objects  (that I got from SQL into a PowerApp) from a flow into a PowerApp.

I use the Response action so I can hand over an array.

schwibach_0-1661632900169.png

 

I entered the correct schema and made sure it's formatted as an array of objects

 

When I use the Set action, I get an empty record.

schwibach_1-1661632983782.png

 

If I do the same with ClearCollect, I get an empty collection where I can only reference 'body' which is empty, too.

The response of the flow is triggered correctly and the response looks correct, too.

 

Any ideas what's going on?

 

 

 

 

Categories:
  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    To capture an array being returned from Power Automate you need to use a Collection, not a variable. So it should be ClearCollect(), not Set()

  • schwibach Profile Picture
    2 Moderator on at

    Thanks..

    Yes, I tried that, too:

     

    schwibach_0-1661633740710.pngschwibach_1-1661633758284.png

     

     

    schwibach_2-1661633815520.png

     

    schwibach_3-1661633864464.png

     

    The fow ran fine... and gives the array. I'm at a loss.

     

     

     

     

  • schwibach Profile Picture
    2 Moderator on at

    It's really strange... I just built another app with the exact same functions in the same solution and it works as expected.

    schwibach_4-1661634272665.png

     

     

    I guess it's the power apps gremlins at work.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard